Skip to content

Commit 29137fb

Browse files
authored
Revert changes on omitted line count in write_to_file (#2807)
1 parent 19df13c commit 29137fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tools/writeToFileTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export async function writeToFileTool(
115115
cline.consecutiveMistakeCount++
116116
cline.recordToolError("write_to_file")
117117
pushToolResult(await cline.sayAndCreateMissingParamError("write_to_file", "line_count"))
118-
await cline.diffViewProvider.reset()
118+
await cline.diffViewProvider.revertChanges()
119119
return
120120
}
121121

0 commit comments

Comments
 (0)