Skip to content

Commit

Permalink
feat: Updated packages/cli/src/WorkflowRunner.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 12, 2024
1 parent 2883294 commit 8a99f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/WorkflowRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class WorkflowRunner {
/**
* The process did send a hook message so execute the appropriate hook
*/
processHookMessage(workflowHooks: WorkflowHooks, hookData: IProcessMessageDataHook) {
processHookMessage(workflowHooks: WorkflowHooks, hookData: IProcessMessageDataHook | IProcessMessageDataHook[]) {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
workflowHooks.executeHookFunctions(hookData.hook, hookData.parameters);
}
Expand Down

0 comments on commit 8a99f7b

Please sign in to comment.