commit | fb215546ee5041b4146c1d0806a0390a759845c5 | [log] [tgz] |
---|---|---|
author | Jordan Harband <ljharb@gmail.com> | Thu Jun 26 16:52:48 2014 -0700 |
committer | Jordan Harband <ljharb@gmail.com> | Thu Jun 26 16:52:48 2014 -0700 |
tree | d15361a1f448aa41c4bf51f8f03d7f29ecb5fb8b | |
parent | 4b593bcda23314260880a1793e21c40b93908b5c [diff] |
Don't bother trying to return the exit code of `nvm alias` or `nvm_print_versions`
diff --git a/nvm.sh b/nvm.sh index 20c781a..782a432 100644 --- a/nvm.sh +++ b/nvm.sh
@@ -579,7 +579,7 @@ 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`"