8000 test_runner: update comment to comply with eslint no-fallthrough rule · nodejs/node@23b8758 · GitHub
[go: up one dir, main page]

Skip to content
< 8000 script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/43862-5c4df3ba1119.js" defer="defer">

Commit 23b8758

Browse files
aduh95juanarbol
authored andcommitted
test_runner: update comment to comply with eslint no-fallthrough rule
PR-URL: #46258 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 5453cd9 commit 23b8758

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/internal/test_runner/tap_parser.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,7 @@ class TapParser extends Transform {
463463
// Ignore unrecognized and empty nodes
464464
break;
465465
}
466-
467-
// Otherwise continue and process node
468-
// eslint no-fallthrough
466+
// falls through
469467

470468
case TokenKind.TAP_PLAN:
471469
case TokenKind.TAP_PRAGMA:

0 commit comments

Comments
 (0)
0