commit
6c3708d337
4
nvm.sh
4
nvm.sh
|
@ -377,7 +377,9 @@ nvm()
|
||||||
nvm help
|
nvm help
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
VERSION=`nvm_version $2`
|
if [ -z $VERSION ]; then
|
||||||
|
VERSION=`nvm_version $2`
|
||||||
|
fi
|
||||||
if [ ! -d $NVM_DIR/$VERSION ]; then
|
if [ ! -d $NVM_DIR/$VERSION ]; then
|
||||||
echo "$VERSION version is not installed yet"
|
echo "$VERSION version is not installed yet"
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in New Issue