mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Fix for issue #196, deconfusified the scenario
This commit is contained in:
parent
01f8eef7a2
commit
41352e866d
3
nvm.sh
3
nvm.sh
@ -332,8 +332,7 @@ nvm() {
|
|||||||
fi
|
fi
|
||||||
VERSION=`nvm_version $2`
|
VERSION=`nvm_version $2`
|
||||||
if [ ! -d $NVM_DIR/$VERSION ]; then
|
if [ ! -d $NVM_DIR/$VERSION ]; then
|
||||||
echo "$VERSION version is not installed yet... installing"
|
echo "$VERSION version is not installed..."
|
||||||
nvm install $VERSION
|
|
||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user