👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2021-12-25 13:51:42 +01:00
parent 8f9dbb7163
commit 2996d5d1e8

View file

@ -186,7 +186,11 @@ export class WorkflowRunner {
if (externalHooks.exists('workflow.postExecute')) { if (externalHooks.exists('workflow.postExecute')) {
postExecutePromise postExecutePromise
.then(async (executionData) => { .then(async (executionData) => {
await externalHooks.run('workflow.postExecute', [executionData, data.workflowData, executionId]); await externalHooks.run('workflow.postExecute', [
executionData,
data.workflowData,
executionId,
]);
}) })
.catch((error) => { .catch((error) => {
console.error('There was a problem running hook "workflow.postExecute"', error); console.error('There was a problem running hook "workflow.postExecute"', error);