Browse Source

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

fix_nvm_ls
Jordan Harband 10 years ago
parent
commit
fb215546ee
  1. 2
      nvm.sh

2
nvm.sh

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

Loading…
Cancel
Save