mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-02-04 17:02:48 +08:00
Improve uninstall error message for missing versions
Include the requested version in the uninstall error output when the target is not installed. Add a fast test to lock the behavior. Close #3767
This commit is contained in:
@@ -5,7 +5,6 @@ set -x
|
||||
\. ../../nvm.sh
|
||||
|
||||
cleanup() { rm -f .nvmrc; }
|
||||
|
||||
die () { echo "$@" ; cleanup ; exit 1; }
|
||||
|
||||
NVM_TEST_VERSION=v0.42
|
||||
|
||||
Reference in New Issue
Block a user