Resolved Issue #194

Issue #194
master
GPad 2013-02-11 19:23:25 +01:00
parent 0ec339e040
commit 5811cb9e73
1 changed files with 3 additions and 1 deletions

4
nvm.sh
View File

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