Quote the version.

master
Jordan Harband 2014-08-29 00:12:16 -07:00
parent 5ee955bb62
commit 603253b0cb
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -785,7 +785,7 @@ nvm() {
nvm help
return 127
fi
VERSION=$(nvm_version "$2")
VERSION="$(nvm_version "$2")"
# declare local INSTALLS first, otherwise it doesn't work in zsh
local INSTALLS