
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
11 lines
223 B
JavaScript
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);
|
|
});
|
|
});
|