nodejs: Fix setup-hook addNodePath quoting

The argument to addNodePath previously wasn't being quoted, leading to
problems when the argument contains characters interpreted specially by
bash
This commit is contained in:
Silvan Mosberger 2022-03-11 20:00:00 +01:00
parent f01213ea5c
commit e975c56501

View file

@ -1,5 +1,5 @@
addNodePath () {
addToSearchPath NODE_PATH $1/lib/node_modules
addToSearchPath NODE_PATH "$1/lib/node_modules"
}
addEnvHooks "$hostOffset" addNodePath