[Test] "nvm alias" lts test bug fix
parent
7bd7a35cb2
commit
c6866eeb37
|
@ -7,6 +7,8 @@ set -ex
|
||||||
|
|
||||||
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||||||
|
|
||||||
|
rm -rf "${LTS_ALIAS_PATH}"
|
||||||
|
|
||||||
die () { echo "$@" ; exit 1; }
|
die () { echo "$@" ; exit 1; }
|
||||||
|
|
||||||
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
||||||
|
|
Loading…
Reference in New Issue