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 <apapirovski@mac.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
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)