Merge pull request #195 from gpad/patch-1

Resolved Issue #194
master
Tim Caswell 2013-04-24 09:03:36 -07:00
commit 6c3708d337
1 changed files with 3 additions and 1 deletions

4
nvm.sh
View File

@ -377,7 +377,9 @@ nvm()
nvm help
return
fi
VERSION=`nvm_version $2`
if [ -z $VERSION ]; then
VERSION=`nvm_version $2`
fi
if [ ! -d $NVM_DIR/$VERSION ]; then
echo "$VERSION version is not installed yet"
return 1