mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 10:43:42 +00:00
Merge e2ff1e7f088d260af7a810f4c522949132518d68 into 762f9ef9d17623b45095e8ca1a996c8928f3f424
This commit is contained in:
commit
800c8a088c
1
nvm-exec
1
nvm-exec
@ -7,6 +7,7 @@ unset NVM_CD_FLAGS
|
||||
# shellcheck disable=SC1090,SC1091
|
||||
\. "$DIR/nvm.sh" --no-use
|
||||
|
||||
nvm_rc_version > /dev/null && nvm_ensure_version_installed "$NVM_RC_VERSION";
|
||||
if [ -n "$NODE_VERSION" ]; then
|
||||
nvm use "$NODE_VERSION" > /dev/null || exit 127
|
||||
elif ! nvm use >/dev/null 2>&1; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user