Skip to content
Myr

Don't output `nvm deactivate` output when running `nvm use system`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 9aec19a · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:nvm.sh+1 added-1 removed
665 unmodified lines
666 VERSION=`nvm_version $NVM_RC_VERSION`667 fi668 else669 if [ $2 = 'system' ]; then670 if nvm_has_system_node && nvm deactivate; then670 if nvm_has_system_node && nvm deactivate >/dev/null; then671 echo "Now using system version of node: $(node -v 2>/dev/null)."672 return673 else674 echo "System version of node not found." >&2
231 unmodified lines