mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-10-30 00:45:49 +08:00
@@ -20,6 +20,11 @@ nvm ls | grep "$NVM_TEST_VERSION" || die "Failed to install node"
|
||||
# Switch to another version so we can uninstall
|
||||
nvm use 0.12.7
|
||||
|
||||
# if zsh, set "nomatch" opt to reproduce failure from https://github.com/creationix/nvm/issues/1228
|
||||
if nvm_has "setopt"; then
|
||||
setopt nomatch
|
||||
fi
|
||||
|
||||
# Uninstall it
|
||||
nvm uninstall $NVM_TEST_VERSION
|
||||
|
||||
|
||||
Reference in New Issue
Block a user