Skip to content

Commit dfaf0d3

Browse files
authored
fix: comment in string-util.ts (#3477)
1 parent 0caea5f commit dfaf0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/string-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export function printError({
103103
displayLine(line, range, ansi),
104104
);
105105

106-
// Find first and lines lines with error message
106+
// Find first and last lines with error message
107107
const firstLineNum = lines.findIndex((line) => line.hasInterval);
108108
const lastLineNum = lines.findLastIndex((line) => line.hasInterval);
109109
if (firstLineNum === -1 || lastLineNum === -1) {

0 commit comments

Comments
 (0)