mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
src,test,tools: modify for more stringent linting
ESLint 2.1.0 is coming. Some lint rules have been tightened. PR-URL: https://github.com/nodejs/node/pull/5214 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Myles Borins <myles.borins@gmail.com>
This commit is contained in:
1 parent
7d1d3a6621
commit
32f6098eef
11 files changed
+29
-33
No files matched your search
@@ -56,9 +56,9 @@ if (process.argv[2] === 'child') {
|
||||
|
||||
let disconnected = 0;
|
||||
server.on('listening', function() {
|
||||
let j = count, client;
|
||||
let j = count;
|
||||
while (j--) {
|
||||
client = net.connect(common.PORT, '127.0.0.1');
|
||||
const client = net.connect(common.PORT, '127.0.0.1');
|
||||
client.on('close', function() {
|
||||
disconnected += 1;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user