mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 22:51:51 +00:00
Don't bother trying to return the exit code of nvm alias
or nvm_print_versions
This commit is contained in:
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
Block a user