refactor: replace var with const / let (#14866)
This commit is contained in:
		
					parent
					
						
							
								b42493e6e6
							
						
					
				
			
			
				commit
				
					
						c61db523c7
					
				
			
		
					 26 changed files with 195 additions and 201 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ const utils = require('./lib/utils')
 | 
			
		|||
 | 
			
		||||
const electronPath = utils.getAbsoluteElectronExec()
 | 
			
		||||
 | 
			
		||||
var child = cp.spawn(electronPath, process.argv.slice(2), { stdio: 'inherit' })
 | 
			
		||||
const child = cp.spawn(electronPath, process.argv.slice(2), { stdio: 'inherit' })
 | 
			
		||||
child.on('close', (code) => process.exit(code))
 | 
			
		||||
 | 
			
		||||
const handleTerminationSignal = (signal) =>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue