Skip to content

Commit ec62b29

Browse files
committed
Attempt to fix Travis tests
1 parent 0f0fda7 commit ec62b29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nvm.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2345,11 +2345,11 @@ nvm() {
23452345
return $?
23462346
fi
23472347

2348-
argsList=("$@")
2349-
for i in ${argsList[@]}
2348+
argsList="$@"
2349+
for i in "${argsList[@]-}"
23502350
do
23512351
case $i in
2352-
'help'|'-help'|'--help')
2352+
'-h'|'help'|'-help'|'--help')
23532353
local NVM_IOJS_PREFIX
23542354
NVM_IOJS_PREFIX="$(nvm_iojs_prefix)"
23552355
local NVM_NODE_PREFIX

0 commit comments

Comments
 (0)