This commit is contained in:
Arlo Breault 2013-10-30 17:51:57 -07:00
commit f8019c121c
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -325,7 +325,7 @@ nvm() {
return 1 return 1
fi fi
;; ;;
"uninstall" ) "uninstall" | "rm" )
[ $# -ne 2 ] && nvm help && return [ $# -ne 2 ] && nvm help && return
if [[ $2 == `nvm_version` ]]; then if [[ $2 == `nvm_version` ]]; then
echo "nvm: Cannot uninstall currently-active node version, $2." echo "nvm: Cannot uninstall currently-active node version, $2."