Skip to content

Commit 30e0eab

Browse files
committed
revert applyDiffTool change
1 parent 0cd2025 commit 30e0eab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/core/tools/applyDiffTool.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ export async function applyDiffToolLegacy(
4545
tmpDiff += `\n-------\n${search}`
4646
}
4747
if (startLine && search && replace) {
48-
tmpDiff += `\n=======\n${replace}\n>>>>>>> REPLACE\n\n`
48+
tmpDiff += `\n=======\n${replace}`
4949
}
5050
}
51+
if (!block.partial) {
52+
tmpDiff += "\n>>>>>>> REPLACE\n\n"
53+
}
5154
diffContent = tmpDiff
5255
block.params.diff = diffContent
5356
}

0 commit comments

Comments
 (0)