11 lines
184 B
Plaintext
11 lines
184 B
Plaintext
|
#!/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
|