Don't bother trying to return the exit code of `nvm alias` or `nvm_print_versions`
parent
4b593bcda2
commit
fb215546ee
2
nvm.sh
2
nvm.sh
|
@ -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`"
|
||||||
|
|
Loading…
Reference in New Issue