FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: remove unused var from child-process-fork · nodejs/node@4d36a67 · GitHub

/ node Public

Commit 4d36a67

Browse files
authored andcommitted
test: remove unused var from child-process-fork
`messageCount` is assigned, but never used. Remove it. (This was missed by the linter in previous versions of ESLint but is flagged by the current version. Updating the linter is contingent on this change or some similar remedy landing.) PR-URL: #7599 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
1 parent b5e516a commit 4d36a67

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎test/parallel/test-child-process-fork.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ var args = ['foo', 'bar'];
77
var n = fork(common.fixturesDir + '/child-process-spawn-node.js', args);
88
assert.deepEqual(args, ['foo', 'bar']);
99

10-
var messageCount = 0;
11-
1210
n.on('message', function(m) {
1311
console.log('PARENT got message:', m);
1412
assert.ok(m.foo);
15-
messageCount++;
1613
});
1714

1815
// https://github.com/joyent/node/issues/2355 - JSON.stringify(undefined)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL