mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-06-27 11:38:43 +00:00
Quote the version.
This commit is contained in:
parent
5ee955bb62
commit
603253b0cb
2
nvm.sh
2
nvm.sh
@ -785,7 +785,7 @@ nvm() {
|
|||||||
nvm help
|
nvm help
|
||||||
return 127
|
return 127
|
||||||
fi
|
fi
|
||||||
VERSION=$(nvm_version "$2")
|
VERSION="$(nvm_version "$2")"
|
||||||
|
|
||||||
# declare local INSTALLS first, otherwise it doesn't work in zsh
|
# declare local INSTALLS first, otherwise it doesn't work in zsh
|
||||||
local INSTALLS
|
local INSTALLS
|
||||||
|
Loading…
Reference in New Issue
Block a user