You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
218 B
Plaintext
11 lines
218 B
Plaintext
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
die () { echo $@ ; exit 1; }
|
||
|
|
||
|
. ../../nvm.sh
|
||
|
|
||
|
nvm deactivate 2>&1
|
||
|
|
||
|
[ "$(nvm current)" = "system" ] || [ "$(nvm current)" = "none" ] || die '"nvm current" did not report "system" or "none" when deactivated'
|
||
|
|