chore(package): update eslint to version 3.9.1

https://greenkeeper.io/
This commit is contained in:
greenkeeperio-bot
2016-10-31 13:33:11 -06:00
committed by Frederic Junod
parent 5f5bc2ecdb
commit 71ebed07bf
13 changed files with 160 additions and 140 deletions

View File

@@ -51,15 +51,14 @@ server.on('connection', function(socket) {
});
});
['SIGHUP', 'SIGINT', 'SIGQUIT', 'SIGILL', 'SIGTRAP', 'SIGABRT',
'SIGBUS', 'SIGFPE', 'SIGUSR1', 'SIGSEGV', 'SIGUSR2', 'SIGTERM'].forEach(signal => {
process.once(signal, () => {
process.stdout.write(`Got ${signal}, stopping...\n`),
server.close(() => {
process.stdout.write('Stopped.\n');
process.exit(0);
});
['SIGHUP', 'SIGINT', 'SIGQUIT', 'SIGILL', 'SIGTRAP', 'SIGABRT', 'SIGBUS', 'SIGFPE', 'SIGUSR1', 'SIGSEGV', 'SIGUSR2', 'SIGTERM'].forEach(signal => {
process.once(signal, () => {
process.stdout.write(`Got ${signal}, stopping...\n`),
server.close(() => {
process.stdout.write('Stopped.\n');
process.exit(0);
});
Object.keys(connections).forEach(cid => connections[cid].destroy());
});
});
Object.keys(connections).forEach(cid => connections[cid].destroy());
});
});