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 18882b2 commit 418ebbeCopy full SHA for 418ebbe
src/core/tools/multiApplyDiffTool.ts
@@ -660,7 +660,6 @@ ${errorDetails ? `\nTechnical details:\n${errorDetails}\n` : ""}
660
let totalSearchBlocks = 0
661
for (const operation of operations) {
662
for (const diffItem of operation.diff) {
663
- // Content is guaranteed to be a string due to early validation
664
const searchBlocks = (diffItem.content.match(/<<<<<<< SEARCH/g) || []).length
665
totalSearchBlocks += searchBlocks
666
}
0 commit comments