added or to handle undefined
This commit is contained in:
		
					parent
					
						
							
								4f20a15907
							
						
					
				
			
			
				commit
				
					
						dfde9ea814
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -16,7 +16,7 @@ try {
 | 
				
			||||||
  // do nothing
 | 
					  // do nothing
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var platform = process.env.npm_config_platform
 | 
					var platform = process.env.npm_config_platform || os.platform()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function onerror (err) {
 | 
					function onerror (err) {
 | 
				
			||||||
  throw err
 | 
					  throw err
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue