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 @@ -190,15 +190,15 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
190190 return this . clineStack . map ( ( cline ) => cline . taskId )
191191 }
192192
193- // remove the current task/cline instance (at the top of the stack), ao this task is finished
193+ // remove the current task/cline instance (at the top of the stack), so this task is finished
194194 // and resume the previous task/cline instance (if it exists)
195195 // this is used when a sub task is finished and the parent task needs to be resumed
196196 async finishSubTask ( lastMessage ?: string ) {
197197 console . log ( `[subtasks] finishing subtask ${ lastMessage } ` )
198198 // remove the last cline instance from the stack (this is the finished sub task)
199199 await this . removeClineFromStack ( )
200- // resume the last cline instance in the stack (if it exists - this is the 'parnt ' calling task)
201- this . getCurrentCline ( ) ?. resumePausedTask ( lastMessage )
200+ // resume the last cline instance in the stack (if it exists - this is the 'parent ' calling task)
201+ await this . getCurrentCline ( ) ?. resumePausedTask ( lastMessage )
202202 }
203203
204204 /*
You can’t perform that action at this time.
0 commit comments