Inline this use of `nvm_remote_version`

master
Jordan Harband 2015-01-21 16:27:20 -08:00
parent 17df0b9912
commit 7d113a2b2f
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -527,7 +527,7 @@ nvm_ls_remote() {
local GREP_OPTIONS
GREP_OPTIONS=''
if nvm_validate_implicit_alias "$PATTERN" 2> /dev/null ; then
PATTERN="$(nvm_remote_version "$(nvm_print_implicit_alias remote "$PATTERN")")"
PATTERN="$(nvm_ls_remote "$(nvm_print_implicit_alias remote "$PATTERN")" | tail -n1)"
elif [ -n "$PATTERN" ]; then
PATTERN="$(nvm_ensure_version_prefix "$PATTERN")"
else