Make the setup-hook work again now that nodejs modules reside in lib/node_modules

This commit is contained in:
Sander van der Burg 2013-07-30 13:00:05 +02:00
parent c7e680c5bd
commit c1fcb0c2e6
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
addNodePath () {
addToSearchPath NODE_PATH $1/node_modules
addToSearchPath NODE_PATH $1/lib/node_modules
}
envHooks=(${envHooks[@]} addNodePath)