File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -177,15 +177,15 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
177177 return this . clineStack . map ( ( cline ) => cline . taskId )
178178 }
179179
180- // remove the current task/cline instance (at the top of the stack), ao this task is finished
180+ // remove the current task/cline instance (at the top of the stack), so this task is finished
181181 // and resume the previous task/cline instance (if it exists)
182182 // this is used when a sub task is finished and the parent task needs to be resumed
183183 async finishSubTask ( lastMessage : string ) {
184184 console . log ( `[subtasks] finishing subtask ${ lastMessage } ` )
185185 // remove the last cline instance from the stack (this is the finished sub task)
186186 await this . removeClineFromStack ( )
187- // resume the last cline instance in the stack (if it exists - this is the 'parnt ' calling task)
188- this . getCurrentCline ( ) ?. resumePausedTask ( lastMessage )
187+ // resume the last cline instance in the stack (if it exists - this is the 'parent ' calling task)
188+ await this . getCurrentCline ( ) ?. resumePausedTask ( lastMessage )
189189 }
190190
191191 /*
You can’t perform that action at this time.
0 commit comments