Allow empty or unset NVM_ENV in install.sh

This commit is contained in:
immeëmosol 2022-05-11 14:07:04 +02:00 committed by GitHub
parent ef3b20c21e
commit 8d536dc500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,6 +470,6 @@ nvm_reset() {
nvm_do_install nvm_reset nvm_default_install_dir nvm_grep
}
[ "_$NVM_ENV" = "_testing" ] || nvm_do_install
[ "_${NVM_ENV-}" = "_testing" ] || nvm_do_install
} # this ensures the entire script is downloaded #