diff --git a/packages/cli/src/workflow-execute-additional-data.ts b/packages/cli/src/workflow-execute-additional-data.ts index 13ef7e11fe..24b3305c72 100644 --- a/packages/cli/src/workflow-execute-additional-data.ts +++ b/packages/cli/src/workflow-execute-additional-data.ts @@ -813,12 +813,14 @@ export async function executeWorkflow( ); if (options.doNotWaitToFinish) { + // todo check if not breaking change return { executionId, data: [null] }; } return await executionPromise; } +// todo simplify async function startExecution( additionalData: IWorkflowExecuteAdditionalData, options: ExecuteWorkflowOptions, diff --git a/packages/core/src/node-execution-context/execute-single-context.ts b/packages/core/src/node-execution-context/execute-single-context.ts index 714951dc56..92a4d62399 100644 --- a/packages/core/src/node-execution-context/execute-single-context.ts +++ b/packages/core/src/node-execution-context/execute-single-context.ts @@ -37,6 +37,7 @@ import { BinaryHelpers } from './helpers/binary-helpers'; import { RequestHelpers } from './helpers/request-helpers'; import { NodeExecutionContext } from './node-execution-context'; +// todo simplify function setMetadata(executeData: IExecuteData, key: string, value: string) { if (!executeData.metadata) { executeData.metadata = {};