Don't bother trying to return the exit code of `nvm alias` or `nvm_print_versions`

master
Jordan Harband 2014-06-26 16:52:48 -07:00
parent 4b593bcda2
commit fb215546ee
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -579,7 +579,7 @@ nvm() {
if [ $# -eq 1 ]; then if [ $# -eq 1 ]; then
nvm alias nvm alias
fi fi
return $NVM_LS_EXIT_CODE && $? return $NVM_LS_EXIT_CODE
;; ;;
"ls-remote" | "list-remote" ) "ls-remote" | "list-remote" )
nvm_print_versions "`nvm_ls_remote $2`" nvm_print_versions "`nvm_ls_remote $2`"