From 12dcbb5d5696894af59b6fb574328202d39549b1 Mon Sep 17 00:00:00 2001 From: Simon Cooper <30930833+simoncoop1@users.noreply.github.com> Date: Thu, 28 Aug 2025 13:24:36 +0100 Subject: [PATCH] Update string-util.ts typo fix --- src/error/string-util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/string-util.ts b/src/error/string-util.ts index 01fe38da4b..6f892aa8e0 100644 --- a/src/error/string-util.ts +++ b/src/error/string-util.ts @@ -103,7 +103,7 @@ export function printError({ displayLine(line, range, ansi), ); - // Find first and lines lines with error message + // Find first and last lines with error message const firstLineNum = lines.findIndex((line) => line.hasInterval); const lastLineNum = lines.findLastIndex((line) => line.hasInterval); if (firstLineNum === -1 || lastLineNum === -1) {