mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Improve startup performance. Closes #703
This commit is contained in:
parent
70370a857f
commit
609d9ee4ea
2
nvm.sh
2
nvm.sh
@ -1718,7 +1718,7 @@ if nvm_supports_source_options && [ "_$1" = "_--install" ]; then
|
||||
elif nvm_rc_version >/dev/null 2>&1; then
|
||||
nvm install >/dev/null
|
||||
fi
|
||||
elif nvm ls default >/dev/null; then
|
||||
elif nvm_alias default >/dev/null 2>&1; then
|
||||
nvm use default >/dev/null
|
||||
elif nvm_rc_version >/dev/null 2>&1; then
|
||||
nvm use >/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user