From d174fff54f6d644c52c585bbc0d7babc33006ef7 Mon Sep 17 00:00:00 2001 From: Tatsunori Uchino Date: Sun, 15 Dec 2024 16:32:28 +0900 Subject: [PATCH] Ignore unreachable lines in modern Node in c8 --- lib/common/utils.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/common/utils.mjs b/lib/common/utils.mjs index b78c9b0..9ee8a90 100644 --- a/lib/common/utils.mjs +++ b/lib/common/utils.mjs @@ -240,6 +240,7 @@ function normalizeReference (str) { // (remove this when node v10 is no longer supported). // if ('ẞ'.toLowerCase() === 'Ṿ') { + /* c8 ignore next 2 */ str = str.replace(/ẞ/g, 'ß') }