Don't output `nvm deactivate` output when running `nvm use system`
parent
9aec19a692
commit
3e4613fd66
2
nvm.sh
2
nvm.sh
|
@ -667,7 +667,7 @@ nvm() {
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $2 = 'system' ]; then
|
if [ $2 = 'system' ]; then
|
||||||
if nvm_has_system_node && nvm deactivate; then
|
if nvm_has_system_node && nvm deactivate >/dev/null; then
|
||||||
echo "Now using system version of node: $(node -v 2>/dev/null)."
|
echo "Now using system version of node: $(node -v 2>/dev/null)."
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue