mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-19 22:37:31 -07:00
Fix bug in "run" command
This commit is contained in:
parent
4664ed1209
commit
9fdbf2c9ee
|
@ -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('====================================');
|
||||
|
|
Loading…
Reference in a new issue