[Fix] `set -u`: is variable set test

Stephan DONIN 2016-05-20 10:49:02 +09:00
parent 74f9674a5d
commit f62747c29c
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -2166,7 +2166,7 @@ nvm() {
return 11 return 11
fi fi
fi fi
if [ -n "$NVM_USE_OUTPUT" ]; then if [ -n "${NVM_USE_OUTPUT-}" ]; then
nvm_echo "$NVM_USE_OUTPUT" nvm_echo "$NVM_USE_OUTPUT"
fi fi
;; ;;