From dc45ff386cbbfa866ff2a29343409778e509bad6 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 19 Jan 2023 08:31:47 +0100 Subject: [PATCH] chore: update comment to comply with eslint no-fallthrough rule PR-URL: https://github.com/nodejs/node/pull/46258 Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca (cherry picked from commit 931f035bac8326a11f42fc05463d5b21d9bec502) --- lib/internal/test_runner/tap_parser.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/internal/test_runner/tap_parser.js b/lib/internal/test_runner/tap_parser.js index a309bff..54fdbe4 100644 --- a/lib/internal/test_runner/tap_parser.js +++ b/lib/internal/test_runner/tap_parser.js @@ -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 { @@ -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: