Skip to content

Commit c2b30a9

Browse files
hexapodeMylesBorins
authored andcommitted
test: remove unused variable
Remove unused variable err in test/sequential/test-http-writable-true-after-close.js PR-URL: #17186 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]>
1 parent 936c0b2 commit c2b30a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-http-writable-true-after-close.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const server = createServer(common.mustCall((req, res) => {
3434
}));
3535
}).listen(0, () => {
3636
external = get(`http://127.0.0.1:${server.address().port}`);
37-
external.on('error', common.mustCall((err) => {
37+
external.on('error', common.mustCall(() => {
3838
server.close();
3939
internal.close();
4040
}));

0 commit comments

Comments
 (0)