Prevent attempts to `nvm install --lts`

Jordan Harband 2016-04-25 00:44:24 -07:00
parent 4699657e98
commit 44f4817f7d
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 4 additions and 0 deletions

4
nvm.sh
View File

@ -1902,6 +1902,10 @@ nvm() {
nvm_get_make_jobs "$1" nvm_get_make_jobs "$1"
shift # consume job count shift # consume job count
;; ;;
--lts*)
nvm_err 'installing based on LTS filtering is not yet supported.'
return 12
;;
*) *)
break # stop parsing args break # stop parsing args
;; ;;