Skip to content

Commit 73c7144

Browse files
fix : COR-Matrix integration (#203)
* fix: Remove fileDiff assignment in ToolExecutor class and moved to catch --------- Co-authored-by: Magesh <mageshmscss@gmail.com>
1 parent c7f4cf3 commit 73c7144

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/task/ToolExecutor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,15 +809,14 @@ export class ToolExecutor {
809809

810810
await this.saveCheckpoint()
811811

812-
fileDiff = undefined
813-
814812
break
815813
}
816814
} catch (error) {
817815
await this.handleError("writing file", error, block)
818816
await this.diffViewProvider.revertChanges()
819817
await this.diffViewProvider.reset()
820818
await this.saveCheckpoint()
819+
fileDiff = undefined
821820
break
822821
} finally {
823822
if (fileDiff) {

0 commit comments

Comments
 (0)