ci: Fix linting issues on master (no-changelog) (#4768)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-30 12:16:19 +01:00
committed by GitHub
parent 528439cb4d
commit ada73ed41d
7 changed files with 147 additions and 142 deletions

View File

@@ -33,7 +33,7 @@ import {
ITriggerResponse,
IWebhookData,
IWebhookResponseData,
IWorfklowIssues,
IWorkflowIssues,
IWorkflowExecuteAdditionalData,
IWorkflowSettings,
WebhookSetupMethodNames,
@@ -249,11 +249,11 @@ export class Workflow {
startNode?: string;
destinationNode?: string;
pinDataNodeNames?: string[];
}): IWorfklowIssues | null {
}): IWorkflowIssues | null {
let node: INode;
let nodeType: INodeType | undefined;
let nodeIssues: INodeIssues | null = null;
const workflowIssues: IWorfklowIssues = {};
const workflowIssues: IWorkflowIssues = {};
let checkNodes: string[] = [];
if (inputData.destinationNode) {
@@ -903,7 +903,7 @@ export class Workflow {
return node;
}
nodeType = this.nodeTypes.getByNameAndVersion(node.type, node.typeVersion) as INodeType;
nodeType = this.nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
if (nodeType && (nodeType.trigger !== undefined || nodeType.poll !== undefined)) {
if (node.disabled === true) {
@@ -979,7 +979,7 @@ export class Workflow {
isTest?: boolean,
): Promise<boolean | undefined> {
const node = this.getNode(webhookData.node) as INode;
const nodeType = this.nodeTypes.getByNameAndVersion(node.type, node.typeVersion) as INodeType;
const nodeType = this.nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
if (nodeType.webhookMethods === undefined) {
return;