diff --git a/src/util/string.js b/src/util/string.js index 7230a5fe..53cb7089 100644 --- a/src/util/string.js +++ b/src/util/string.js @@ -92,7 +92,7 @@ function overlapCount(a, b) { * Returns true if the string consistently uses Windows line endings. */ export function hasOnlyWinLineEndings(string) { - return string.includes('\r\n') && !string.match(/(?