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 3260065

Browse filesBrowse files
Trottevanlucas
authored andcommitted
test: remove unused var from stream2 test
`writes` 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: #7596 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
1 parent 9716729 commit 3260065
Copy full SHA for 3260065

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-stream2-readable-legacy-drain.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-stream2-readable-legacy-drain.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ r.on('end', function() {
1919

2020
var w = new Stream();
2121
w.writable = true;
22-
var writes = 0;
2322
var buffered = 0;
2423
w.write = function(c) {
25-
writes += c.length;
2624
buffered += c.length;
2725
process.nextTick(drain);
2826
return false;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.