Skip to content

Commit

Permalink
Don't bother trying to return the exit code of nvm alias or `nvm_pr…
Browse files Browse the repository at this point in the history
…int_versions`
  • Loading branch information
ljharb committed Jun 26, 2014
1 parent 4b593bc commit fb21554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Expand Up @@ -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`"
Expand Down

0 comments on commit fb21554

Please sign in to comment.