electron/spec/fixtures/module/set-immediate.js
cesine 2aff0c47d0 ⬆️ 👕 updated to eslint 2.1.0
Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0

And made sure the eslint tasks passed
2016-02-15 22:30:29 -05:00

11 lines
223 B
JavaScript

process.on('uncaughtException', function(error) {
process.send(error.message);
process.exit(1);
});
process.on('message', function() {
setImmediate(function() {
process.send('ok');
process.exit(0);
});
});