Skip to content

Commit

Permalink
⚡ Add external hook "activeWorkflows.initialized" (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebto authored Jan 8, 2022
1 parent 67d876e commit 228ba36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/ActiveWorkflowRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import {
WorkflowExecuteAdditionalData,
WorkflowHelpers,
WorkflowRunner,
ExternalHooks,
} from '.';
import config = require('../config');

Expand Down Expand Up @@ -112,6 +113,8 @@ export class ActiveWorkflowRunner {
}
Logger.verbose('Finished initializing active workflows (startup)');
}
const externalHooks = ExternalHooks();
await externalHooks.run('activeWorkflows.initialized', []);
}

// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
Expand Down

0 comments on commit 228ba36

Please sign in to comment.