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 46f944f

Browse filesBrowse files
Stephen HeitmanMylesBorins
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 adff51f commit 46f944f
Copy full SHA for 46f944f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-http2-respond-file-fd-invalid.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.