refactor: replace var with const / let (#14866)

This commit is contained in:
Milan Burda 2018-09-29 01:17:00 +02:00 committed by Samuel Attard
parent b42493e6e6
commit c61db523c7
26 changed files with 195 additions and 201 deletions

View file

@ -4,7 +4,7 @@ process.on('uncaughtException', function (error) {
process.send(error.stack)
})
var child = require('child_process').fork(path.join(__dirname, '/ping.js'))
const child = require('child_process').fork(path.join(__dirname, '/ping.js'))
process.on('message', function (msg) {
child.send(msg)
})