Răsfoiți Sursa

Subtask logic fix

Matt Rubens 9 luni în urmă
părinte
comite
c3065663b2
1 a modificat fișierele cu 0 adăugiri și 8 ștergeri
  1. 0 8
      src/core/Cline.ts

+ 0 - 8
src/core/Cline.ts

@@ -2897,14 +2897,6 @@ export class Cline {
 											false,
 											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(
 										await this.ask(
 											"command",
 											"command",
 											removeClosingTag("command", command),
 											removeClosingTag("command", command),