Browse Source

install requested version automatically if it isnt available

master
Nathan LaFreniere 13 years ago
parent
commit
3d65d55b5a
  1. 3
      nvm.sh

3
nvm.sh

@ -190,7 +190,8 @@ nvm() @@ -190,7 +190,8 @@ nvm()
fi
VERSION=`nvm_version $2`
if [ ! -d $NVM_DIR/$VERSION ]; then
echo "$VERSION version is not installed yet"
echo "$VERSION version is not installed yet... installing"
nvm install $VERSION
return;
fi

Loading…
Cancel
Save