mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
reinstalling echos no error
This commit is contained in:
parent
73438e339e
commit
70a50b64f4
2
nvm.sh
2
nvm.sh
@ -2724,7 +2724,7 @@ nvm() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if nvm_is_version_installed "${VERSION}"; then
|
if nvm_is_version_installed "${VERSION}"; then
|
||||||
nvm_err "${VERSION} is already installed."
|
nvm_echo "${VERSION} is already installed."
|
||||||
if nvm use "${VERSION}"; then
|
if nvm use "${VERSION}"; then
|
||||||
if [ "${NVM_UPGRADE_NPM}" = 1 ]; then
|
if [ "${NVM_UPGRADE_NPM}" = 1 ]; then
|
||||||
nvm install-latest-npm
|
nvm install-latest-npm
|
||||||
|
Loading…
Reference in New Issue
Block a user