Skip to content

Commit 05e6a98

Browse files
committed
fix
1 parent cb650ed commit 05e6a98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,8 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
280280
;(this.emit as any)(RooCodeEventName.TaskDelegationCompleted, task.taskId, childTaskId, summary)
281281
})
282282

283-
task.on(RooCodeEventName.TaskDelegationResumed as any, () => {
284-
;(this.emit as any)(RooCodeEventName.TaskDelegationResumed, task.taskId, task.childTaskId || "")
283+
task.on(RooCodeEventName.TaskDelegationResumed as any, (childTaskId: string) => {
284+
;(this.emit as any)(RooCodeEventName.TaskDelegationResumed, task.taskId, childTaskId)
285285
})
286286

287287
// Task Execution

0 commit comments

Comments
 (0)