Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
saoudrizwan committed Jan 1, 2025
1 parent 5141bd9 commit a7e9d47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Cline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1291,6 +1291,7 @@ export class Cline {
let didApprove = true
const { response, text, images } = await this.ask("tool", completeMessage, false)
if (response !== "yesButtonClicked") {
// TODO: add similar context for other tool denial responses, to emphasize ie that a command was not run
const fileDeniedNote = fileExists
? "The file was not updated, and maintains its original contents."
: "The file was not created."
Expand Down

0 comments on commit a7e9d47

Please sign in to comment.