Skip to content

Commit a866a1c

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)