Skip to content

Commit

Permalink
chore: update comment to comply with eslint no-fallthrough rule
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#46258
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
(cherry picked from commit 931f035bac8326a11f42fc05463d5b21d9bec502)
  • Loading branch information
aduh95 authored and MoLow committed Feb 8, 2023
1 parent b6177a4 commit dc45ff3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/internal/test_runner/tap_parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// https://github.com/nodejs/node/blob/7a42a206ac37d95060640b4812aaef32535937e1/lib/internal/test_runner/tap_parser.js
// https://github.com/nodejs/node/blob/931f035bac8326a11f42fc05463d5b21d9bec502/lib/internal/test_runner/tap_parser.js
'use strict'

const {
Expand Down Expand Up @@ -464,9 +464,7 @@ class TapParser extends Transform {
// Ignore unrecognized and empty nodes
break
}

// Otherwise continue and process node
// eslint no-fallthrough
// falls through

case TokenKind.TAP_PLAN:
case TokenKind.TAP_PRAGMA:
Expand Down

0 comments on commit dc45ff3

Please sign in to comment.