Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4d36a67

Browse filesBrowse files
TrottMyles Borins
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
Copy full SHA for 4d36a67

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork.js
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.