Update src/core/webview/ClineProvider.ts

This commit is contained in:
Matt Rubens 2025-03-05 12:26:58 -05:00 committed by GitHub
parent 426e03ba13
commit a9d971e437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2060,7 +2060,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
if (id === this.getCurrentCline()?.taskId) {
// if we found the taskid to delete - call finish to abort this task and allow a new task to be started,
// if we are deleting a subtask and parent task is still waiting for subtask to finish - it allows the parent to resume (this case should neve exist)
await this.finishSubTask(`new_task finished with an error!, it was stopped and delted by the user.`)
await this.finishSubTask(`Task failure: It was stopped and deleted by the user.`)
}
// delete task from the task history state