mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Merge pull request #292 from martiniwanowski/master
Fix for issue #196, deconfusified the scenario
This commit is contained in:
commit
c6f72953c9
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