Skip to content

Commit e975c56

Browse files
committed
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
1 parent f01213e commit e975c56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
addNodePath () {
2-
addToSearchPath NODE_PATH $1/lib/node_modules
2+
addToSearchPath NODE_PATH "$1/lib/node_modules"
33
}
44

55
addEnvHooks "$hostOffset" addNodePath

0 commit comments

Comments
 (0)