nvm/test/installation/teardown_dir

15 lines
161 B
Bash
Executable File

#!/bin/sh
. ../../nvm.sh
nvm deactivate
nvm uninstall v0.10.7
if [ -f ".nvmrc" ]; then
rm .nvmrc
fi
if [ -f ".nvmrc.bak" ]; then
mv .nvmrc.bak .nvmrc
fi