mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: replace var with const / let (#14866)
This commit is contained in:
committed by
Samuel Attard
parent
b42493e6e6
commit
c61db523c7
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user