mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-07 21:17:53 +00:00
Show "∞" when there's a circular alias reference.
This commit is contained in:
13
test/fast/Aliases/teardown
Executable file
13
test/fast/Aliases/teardown
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $(seq 1 10)
|
||||
do
|
||||
rm -f "../../../alias/test-stable-$i"
|
||||
rm -rf "../../../v0.0.$i"
|
||||
rm -f "../../../alias/test-unstable-$i"
|
||||
rm -rf "../../../v0.1.$i"
|
||||
done
|
||||
|
||||
rm -f "../../../alias/stable"
|
||||
rm -f "../../../alias/unstable"
|
||||
|
Reference in New Issue
Block a user