We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56b922 commit f4ca7e7Copy full SHA for f4ca7e7
src/core/tools/applyDiffTool.ts
@@ -89,7 +89,11 @@ export async function applyDiffToolLegacy(
89
let originalContent: string | null = await fs.readFile(absolutePath, "utf-8")
90
91
// Apply the diff to the original content
92
- const diffResult = (await cline.diffStrategy?.applyDiff(originalContent, diffContent)) ?? {
+ const diffResult = (await cline.diffStrategy?.applyDiff(
93
+ originalContent,
94
+ diffContent,
95
+ parseInt(block.params.start_line ?? ""),
96
+ )) ?? {
97
success: false,
98
error: "No diff strategy available",
99
}
0 commit comments