Add empty value to local variable

Phileas Lebada 2017-11-15 17:17:57 +01:00
parent a7b7eec0c5
commit 049a86022f
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -514,6 +514,7 @@ nvm_remote_versions() {
local NVM_LS_REMOTE_IOJS_EXIT_CODE
NVM_LS_REMOTE_IOJS_EXIT_CODE=0
local NVM_LS_REMOTE_IOJS_OUTPUT
NVM_LS_REMOTE_IOJS_OUTPUT=
if [ -z "${NVM_LTS-}" ] && ( \
[ -z "${NVM_FLAVOR-}" ] || [ "${NVM_FLAVOR-}" = "${NVM_IOJS_PREFIX}" ] \
); then