telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

fix: don't execute hooks for directories that do not exist #1139

Closed Fatme closed 6 years ago

Fatme commented 6 years ago

Currently hooksService is initialized with the following directories:

<path-to-cli>/lib/hooks
<path-to-cli>/lib/common/hooks

Actually this directories do not exist and no need to iterate them. This fix should speed up the hooks execution.