`nvm ls-remote`: skip io.js lookup when LTS is set.

Jordan Harband 2016-07-17 10:54:24 -07:00
parent c3b16603c0
commit bcb1f0b1c7
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -2516,6 +2516,7 @@ nvm() {
;; ;;
--lts=*) --lts=*)
LTS="${2##--lts=}" LTS="${2##--lts=}"
NVM_FLAVOR="${NVM_NODE_PREFIX}"
;; ;;
--*) --*)
nvm_err "Unsupported option \"$2\"." nvm_err "Unsupported option \"$2\"."