mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Prevent attempts to nvm install --lts
				
					
				
			This commit is contained in:
		
							
								
								
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -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 | ||||||
|           ;; |           ;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user