mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
Update src/core/Cline.ts
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
This commit is contained in:
parent
029bf4345d
commit
c2883cdab9
1 changed files with 5 additions and 0 deletions
|
|
@ -2054,6 +2054,11 @@ export class Cline {
|
|||
await this.say("completion_result", result, undefined, false)
|
||||
}
|
||||
|
||||
// complete command message
|
||||
const didApprove = await askApproval("command", command)
|
||||
if (!didApprove) {
|
||||
break
|
||||
}
|
||||
// Execute command from attempt_completion
|
||||
const [userRejected, execCommandResult] = await this.executeCommandTool(command!)
|
||||
if (userRejected) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue