mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
fix add line wrong index (#1927)
This commit is contained in:
parent
e810a886d2
commit
a866a1c271
1 changed files with 1 additions and 1 deletions
|
|
@ -2333,7 +2333,7 @@ export class Cline extends EventEmitter<ClineEvents> {
|
|||
} else {
|
||||
content = addLineNumbers(
|
||||
await readLines(absolutePath, endLine, startLine),
|
||||
startLine,
|
||||
startLine + 1,
|
||||
)
|
||||
}
|
||||
} else if (!isBinary && totalLines > maxReadFileLine) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue