Skip to content

Commit 1408e32

Browse files
Stephen Heitmanjasnell
Stephen Heitman
authored andcommitted
test: remove unused "e" from catch in http2 test
PR-URL: #23476 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: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent b5c698d commit 1408e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-http2-respond-file-fd-invalid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ server.on('stream', (stream) => {
2525
// Get first known bad file descriptor.
2626
try {
2727
while (fs.fstatSync(++fd));
28-
} catch (e) {
28+
} catch {
2929
// do nothing; we now have an invalid fd
3030
}
3131

0 commit comments

Comments
 (0)