reinstalling echos no error

This commit is contained in:
Chris King 2020-04-15 16:23:14 -10:00
parent 73438e339e
commit 70a50b64f4

2
nvm.sh
View File

@ -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