mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	[Fix] debug: correct mistaken -V to --version from #2922
				
					
				
			This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -2997,7 +2997,7 @@ nvm() { | ||||
|         nvm_err "OS version: ${OS_VERSION}" | ||||
|       fi | ||||
|       if nvm_has "awk"; then | ||||
|         nvm_err "awk: $(nvm_command_info awk), $({ command awk -V 2>/dev/null || command awk -W version; } \ | ||||
|         nvm_err "awk: $(nvm_command_info awk), $({ command awk --version 2>/dev/null || command awk -W version; } \ | ||||
|           | command head -n 1)" | ||||
|       else | ||||
|         nvm_err "awk: not found" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user