Browse Source

Ignore unreachable lines in modern Node in c8

pull/1073/head
Tatsunori Uchino 6 months ago
parent
commit
d174fff54f
  1. 1
      lib/common/utils.mjs

1
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, 'ß')
}

Loading…
Cancel
Save