parent
0ec339e040
commit
5811cb9e73
4
nvm.sh
4
nvm.sh
|
@ -368,7 +368,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