Skip to content

Commit a866a1c

Browse files
authored
fix add line wrong index (#1927)
1 parent e810a88 commit a866a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Cline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2333,7 +2333,7 @@ export class Cline extends EventEmitter<ClineEvents> {
23332333
} else {
23342334
content = addLineNumbers(
23352335
await readLines(absolutePath, endLine, startLine),
2336-
startLine,
2336+
startLine + 1,
23372337
)
23382338
}
23392339
} else if (!isBinary && totalLines > maxReadFileLine) {

0 commit comments

Comments
 (0)