mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
NVM_NOUSE on install.sh to pass --no-use to nvm.sh
This commit is contained in:
parent
73a513c389
commit
b7fb5222ff
@ -394,7 +394,11 @@ nvm_do_install() {
|
||||
|
||||
# Source nvm
|
||||
# shellcheck source=/dev/null
|
||||
\. "$(nvm_install_dir)/nvm.sh"
|
||||
if [ -z "${NVM_NOUSE-}" ] ; then
|
||||
\. "$(nvm_install_dir)/nvm.sh"
|
||||
else
|
||||
\. "$(nvm_install_dir)/nvm.sh" --no-use
|
||||
fi
|
||||
|
||||
nvm_check_global_modules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user