Sign in
cobalt
/
third_party
/
nvm
/
eed0d0e85ccb35e8802b0df7061491e6cf5d6a4b
/
.
/
test
/
fast
/
Running 'nvm current' should display current nvm environment
blob: 1d4d19ba554f1223dfb05ab361d8b1e21c54fd6b [
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'