Sign in
cobalt
/
third_party
/
nvm
/
a32b914bab639d308f41b84a55256d42c5afac1a
/
.
/
test
/
fast
/
Running "nvm current" should display current nvm environment.
blob: db87520dda71d1b33a54a57b56413c9b2d3a6474 [
file
] [
log
] [
blame
]
#!/bin/sh
set
-
ex
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'