瀏覽代碼

Subtask logic fix

Matt Rubens 1 年之前
父節點
當前提交
c3065663b2
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      src/core/Cline.ts

+ 0 - 8
src/core/Cline.ts

@@ -2897,14 +2897,6 @@ export class Cline {
 											false,
 										)
 
-										if (this.isSubTask) {
-											// tell the provider to remove the current subtask and resume the previous task in the stack (it might decide to run the command)
-											await this.providerRef
-												.deref()
-												?.finishSubTask(`new_task finished successfully! ${lastMessage?.text}`)
-											break
-										}
-
 										await this.ask(
 											"command",
 											removeClosingTag("command", command),