From e4ee65fdc54f7012b9f25f0a7d74d5d378e8a4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Thu, 30 Jan 2025 13:48:10 +0100 Subject: [PATCH] hookFunctionsPreExecute -> hookFunctionsSaveProgress --- .../execution-lifecycle/execution-lifecycle-hooks.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/execution-lifecycle/execution-lifecycle-hooks.ts b/packages/cli/src/execution-lifecycle/execution-lifecycle-hooks.ts index 098e6fa916..341146cf50 100644 --- a/packages/cli/src/execution-lifecycle/execution-lifecycle-hooks.ts +++ b/packages/cli/src/execution-lifecycle/execution-lifecycle-hooks.ts @@ -212,7 +212,7 @@ function hookFunctionsExternalHooks(): IWorkflowExecuteHooks { }; } -function hookFunctionsPreExecute(): IWorkflowExecuteHooks { +function hookFunctionsSaveProgress(): IWorkflowExecuteHooks { return { nodeExecuteAfter: [ async function ( @@ -477,7 +477,7 @@ export function getWorkflowHooksIntegrated( hookFunctionsNodeEvents(), hookFunctionsFinalizeExecutionStatus(), hookFunctionsSave(), - hookFunctionsPreExecute(), + hookFunctionsSaveProgress(), hookFunctionsExternalHooks(), ); return new WorkflowHooks(hookFunctions, mode, executionId, workflowData); @@ -496,7 +496,7 @@ export function getWorkflowHooksWorkerExecuter( hookFunctionsNodeEvents(), hookFunctionsFinalizeExecutionStatus(), hookFunctionsSaveWorker(), - hookFunctionsPreExecute(), + hookFunctionsSaveProgress(), hookFunctionsExternalHooks(), ]; @@ -520,7 +520,7 @@ export function getWorkflowHooksWorkerMain( const executionRepository = Container.get(ExecutionRepository); const hookFunctions = mergeHookFunctions( hookFunctionsWorkflowEvents(), - hookFunctionsPreExecute(), + hookFunctionsSaveProgress(), hookFunctionsExternalHooks(), hookFunctionsFinalizeExecutionStatus(), { @@ -585,7 +585,7 @@ export function getWorkflowHooksMain( hookFunctionsFinalizeExecutionStatus(), hookFunctionsSave(), hookFunctionsPush(), - hookFunctionsPreExecute(), + hookFunctionsSaveProgress(), hookFunctionsExternalHooks(), ); return new WorkflowHooks(hookFunctions, data.executionMode, executionId, data.workflowData, {