mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
Fix bug in "run" command
This commit is contained in:
@@ -88,7 +88,6 @@ module.exports = (vorpal: Vorpal) => {
|
|||||||
GenericHelpers.logOutput(`The workflow with the id "${workflowId}" does not exist.`);
|
GenericHelpers.logOutput(`The workflow with the id "${workflowId}" does not exist.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make sure the settings exist
|
// Make sure the settings exist
|
||||||
@@ -136,7 +135,7 @@ module.exports = (vorpal: Vorpal) => {
|
|||||||
const executionId = await workflowExecute.run(workflowInstance);
|
const executionId = await workflowExecute.run(workflowInstance);
|
||||||
|
|
||||||
const activeExecutions = ActiveExecutions.getInstance();
|
const activeExecutions = ActiveExecutions.getInstance();
|
||||||
const data = activeExecutions.getPostExecutePromise(executionId);
|
const data = await activeExecutions.getPostExecutePromise(executionId);
|
||||||
|
|
||||||
console.log('Execution was successfull:');
|
console.log('Execution was successfull:');
|
||||||
console.log('====================================');
|
console.log('====================================');
|
||||||
|
|||||||
Reference in New Issue
Block a user