mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +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=$? |         EXIT_CODE=$? | ||||||
|       elif [ -z "$ARGS" ]; then |       elif [ -z "$ARGS" ]; then | ||||||
|         if [ "$NVM_IOJS" = true ]; then |         if [ "$NVM_IOJS" = true ]; then | ||||||
|           nvm exec "$VERSION" iojs |           nvm exec "${NVM_SILENT-}" "$VERSION" iojs | ||||||
|         else |         else | ||||||
|           nvm exec "$VERSION" node |           nvm exec "${NVM_SILENT-}" "$VERSION" node | ||||||
|         fi |         fi | ||||||
|         EXIT_CODE="$?" |         EXIT_CODE="$?" | ||||||
|       elif [ "$NVM_IOJS" = true ]; then |       elif [ "$NVM_IOJS" = true ]; then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user