Skip to content
Myr

Inline this use of `nvm_remote_version`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 17df0b9 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:nvm.sh+1 added-1 removed
525 unmodified lines
526 local VERSIONS527 local GREP_OPTIONS528 GREP_OPTIONS=''529 if nvm_validate_implicit_alias "$PATTERN" 2> /dev/null ; then530 PATTERN="$(nvm_remote_version "$(nvm_print_implicit_alias remote "$PATTERN")")"530 PATTERN="$(nvm_ls_remote "$(nvm_print_implicit_alias remote "$PATTERN")" | tail -n1)"531 elif [ -n "$PATTERN" ]; then532 PATTERN="$(nvm_ensure_version_prefix "$PATTERN")"533 else534 PATTERN=".*"
978 unmodified lines