mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	[fix] nvm run: pass through --silent on bare nvm run
				
					
				
			This commit is contained in:
		
							
								
								
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -2178,9 +2178,9 @@ nvm() { | ||||
|         EXIT_CODE=$? | ||||
|       elif [ -z "$ARGS" ]; then | ||||
|         if [ "$NVM_IOJS" = true ]; then | ||||
|           nvm exec "$VERSION" iojs | ||||
|           nvm exec "${NVM_SILENT-}" "$VERSION" iojs | ||||
|         else | ||||
|           nvm exec "$VERSION" node | ||||
|           nvm exec "${NVM_SILENT-}" "$VERSION" node | ||||
|         fi | ||||
|         EXIT_CODE="$?" | ||||
|       elif [ "$NVM_IOJS" = true ]; then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user