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() {
) )
then then
nvm use $VERSION nvm use $VERSION
return; return $?
else else
echo "Binary download failed, trying source." >&2 echo "Binary download failed, trying source." >&2
rm -rf "$tmptarball" "$tmpdir" rm -rf "$tmptarball" "$tmpdir"

Loading…
Cancel
Save