Some cleanup

This commit is contained in:
Jan Oberhauser
2021-03-25 11:23:54 +01:00
parent 5f96f01f24
commit 0c0c0bda67
8 changed files with 23 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ import {
WorkflowCredentials,
WorkflowHelpers,
WorkflowRunner,
} from "../src";
} from '../src';
export class Execute extends Command {
@@ -127,7 +127,7 @@ export class Execute extends Command {
// Check if the workflow contains the required "Start" node
// "requiredNodeTypes" are also defined in editor-ui/views/NodeView.vue
const requiredNodeTypes = ['n8n-nodes-base.start'];
let startNode: INode | undefined= undefined;
let startNode: INode | undefined = undefined;
for (const node of workflowData!.nodes) {
if (requiredNodeTypes.includes(node.type)) {
startNode = node;