mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	Don't bother trying to return the exit code of nvm alias or nvm_print_versions
				
					
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -579,7 +579,7 @@ nvm() { | |||||||
|       if [ $# -eq 1 ]; then |       if [ $# -eq 1 ]; then | ||||||
|         nvm alias |         nvm alias | ||||||
|       fi |       fi | ||||||
|       return $NVM_LS_EXIT_CODE && $? |       return $NVM_LS_EXIT_CODE | ||||||
|     ;; |     ;; | ||||||
|     "ls-remote" | "list-remote" ) |     "ls-remote" | "list-remote" ) | ||||||
|       nvm_print_versions "`nvm_ls_remote $2`" |       nvm_print_versions "`nvm_ls_remote $2`" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user