mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 00:45:49 +08:00
[Tests] use rimraf over rmdir in teardowns
- fix test 'Running "nvm ls" should display all installed versions.': only expect versions created by this test, but no versions created by other tests
This commit is contained in:
committed by
Jordan Harband
parent
43402df896
commit
a1abfd1fe4
@@ -1,3 +1,3 @@
|
||||
rmdir ../../../v0.0.2 >/dev/null 2>&1
|
||||
rmdir ../../../v0.0.20 >/dev/null 2>&1
|
||||
rmdir ../../../v0.12.0 >/dev/null 2>&1
|
||||
rm -rf ../../../v0.0.2
|
||||
rm -rf ../../../v0.0.20
|
||||
rm -rf ../../../v0.12.0
|
||||
|
||||
Reference in New Issue
Block a user