Browse Source

Return the exit code of `nvm use` when `nvm install`-ing.

master
Jordan Harband 11 years ago
parent
commit
d8b55652a5
  1. 2
      nvm.sh

2
nvm.sh

@ -352,7 +352,7 @@ nvm() { @@ -352,7 +352,7 @@ nvm() {
)
then
nvm use $VERSION
return;
return $?
else
echo "Binary download failed, trying source." >&2
rm -rf "$tmptarball" "$tmpdir"

Loading…
Cancel
Save