mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-07-19 21:38:24 +08:00
[Test] "nvm alias" lts test bug fix
This commit is contained in:
@@ -7,6 +7,8 @@ set -ex
|
||||
|
||||
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||||
|
||||
rm -rf "${LTS_ALIAS_PATH}"
|
||||
|
||||
die () { echo "$@" ; exit 1; }
|
||||
|
||||
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
||||
|
||||
Reference in New Issue
Block a user