build: enable JS semicolons (#22783)
This commit is contained in:
parent
24e21467b9
commit
5d657dece4
354 changed files with 21512 additions and 21510 deletions
20
spec/fixtures/module/fork_ping.js
vendored
20
spec/fixtures/module/fork_ping.js
vendored
|
@ -1,16 +1,16 @@
|
|||
const path = require('path')
|
||||
const path = require('path');
|
||||
|
||||
process.on('uncaughtException', function (error) {
|
||||
process.send(error.stack)
|
||||
})
|
||||
process.send(error.stack);
|
||||
});
|
||||
|
||||
const 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)
|
||||
})
|
||||
child.send(msg);
|
||||
});
|
||||
child.on('message', function (msg) {
|
||||
process.send(msg)
|
||||
})
|
||||
process.send(msg);
|
||||
});
|
||||
child.on('exit', function (code) {
|
||||
process.exit(code)
|
||||
})
|
||||
process.exit(code);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue