mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Allow empty or unset NVM_ENV in install.sh
This commit is contained in:
parent
ef3b20c21e
commit
8d536dc500
@ -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 #
|
||||
|
Loading…
Reference in New Issue
Block a user