You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					8 lines
				
				249 B
			
		
		
			
		
	
	
					8 lines
				
				249 B
			| 
								 
											3 years ago
										 
									 | 
							
								// workaround for tty output truncation upon process.exit()
							 | 
						||
| 
								 | 
							
								// https://github.com/nodejs/node/issues/6456
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[process.stdout, process.stderr].forEach((s) => {
							 | 
						||
| 
								 | 
							
								  s && s.isTTY && s._handle && s._handle.setBlocking &&
							 | 
						||
| 
								 | 
							
								    s._handle.setBlocking(true)
							 | 
						||
| 
								 | 
							
								});
							 |