From 9fdbf2c9eefd5ea13ab049d7ac63450aee7a184e Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 24 Jun 2019 08:12:49 +0200 Subject: [PATCH] Fix bug in "run" command --- packages/cli/commands/run.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/cli/commands/run.ts b/packages/cli/commands/run.ts index ad195c643..66ab248f8 100644 --- a/packages/cli/commands/run.ts +++ b/packages/cli/commands/run.ts @@ -88,7 +88,6 @@ module.exports = (vorpal: Vorpal) => { GenericHelpers.logOutput(`The workflow with the id "${workflowId}" does not exist.`); return; } - } // Make sure the settings exist @@ -136,7 +135,7 @@ module.exports = (vorpal: Vorpal) => { const executionId = await workflowExecute.run(workflowInstance); const activeExecutions = ActiveExecutions.getInstance(); - const data = activeExecutions.getPostExecutePromise(executionId); + const data = await activeExecutions.getPostExecutePromise(executionId); console.log('Execution was successfull:'); console.log('====================================');