Sign in
cobalt
/
third_party
/
nvm
/
refs/tags/v0.29.0
/
.
/
test
/
fast
/
Running "nvm current" should display current nvm environment.
blob: 5748fd61171aac0448fa2e16beeb2f8a688707d4 [
file
] [
log
] [
blame
]
#!/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'