Sign in
cobalt
/
third_party
/
nvm
/
refs/tags/v0.29.0
/
.
/
test
/
fast
/
Running "nvm unload" should unset all function and variables.
blob: 0f4c50ef7b35cc41165f728a95a5614d8367e5db [
file
] [
log
] [
blame
]
#!/bin/sh
fail
()
{
echo $@
;
exit
1
;
}
.
../../
nvm
.
sh
type nvm
>
/
dev
/
null
2
>&
1
||
fail
"NVM not loaded"
nvm unload
type nvm
>
/
dev
/
null
2
>&
1
&&
fail
"NVM not unloaded"
||
exit
0