Fix a bug in nvm_remote_version that was breaking nvm install stable/nvm install unstable.

Fixes #630.
This commit is contained in:
Jordan Harband
2015-01-23 10:59:49 -08:00
parent 8822bd719a
commit 24c60e4e51
2 changed files with 19 additions and 10 deletions

2
nvm.sh
View File

@@ -218,7 +218,7 @@ nvm_remote_version() {
PATTERN="$1"
local VERSION
if nvm_validate_implicit_alias "$PATTERN" 2> /dev/null ; then
VERSIONS="$(nvm_ls_remote "$PATTERN")"
VERSION="$(nvm_ls_remote "$PATTERN")"
else
case "_$PATTERN" in
"_$(nvm_node_prefix)")