Merge pull request #1665 from norpol/fix_issue_1664_unassigned_variable_20171115

Fix #1664: unassigned variable
Jordan Harband 2017-11-17 23:31:26 -06:00 committed by GitHub
commit 4b48556e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 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

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -ex
set -eux
die () { echo "$@" ; exit 1; }