mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-09-13 00:01:21 +08:00
[Tests] nvm alias --lts: add tests
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ../../../../nvm.sh
|
||||
|
||||
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||||
|
||||
if [ -d "${LTS_ALIAS_PATH}" ]; then
|
||||
mv "${LTS_ALIAS_PATH}" "${LTS_ALIAS_PATH}.bak"
|
||||
rm -rf "${LTS_ALIAS_PATH}"
|
||||
fi
|
||||
Reference in New Issue
Block a user