👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -114,7 +114,7 @@ export class Expression {
const runData: IRunExecutionData = {
resultData: {
runData: {},
}
},
};
return this.getParameterValue(parameterValue, runData, runIndex, itemIndex, node.name, connectionInputData) as boolean | number | string | undefined;
@@ -144,7 +144,7 @@ export class Expression {
const runData: IRunExecutionData = {
resultData: {
runData: {},
}
},
};
// Resolve the "outer" main values

View File

@@ -1,10 +1,10 @@
import {
IContextObject,
INodeCredentialDescription,
INode,
INodeCredentialDescription,
INodeExecutionData,
INodeIssues,
INodeIssueObjectProperty,
INodeIssues,
INodeParameters,
INodeProperties,
INodePropertyCollection,
@@ -238,11 +238,11 @@ export function getSpecialNodeParameters(nodeType: INodeType) {
options: [
{
name: 'Minutes',
value: 'minutes'
value: 'minutes',
},
{
name: 'Hours',
value: 'hours'
value: 'hours',
},
],
default: 'hours',
@@ -346,7 +346,7 @@ export function displayParameterPath(nodeValues: INodeParameters, parameter: INo
if (path !== '') {
resolvedNodeValues = get(
nodeValues,
path,
path
) as INodeParameters;
}
@@ -355,7 +355,7 @@ export function displayParameterPath(nodeValues: INodeParameters, parameter: INo
if (path && path.split('.').indexOf('parameters') === 0) {
nodeValuesRoot = get(
nodeValues,
'parameters',
'parameters'
) as INodeParameters;
}
@@ -998,7 +998,7 @@ export function addToIssuesIfMissing(foundIssues: INodeIssues, nodeProperties: I
export function getParameterValueByPath(nodeValues: INodeParameters, parameterName: string, path: string) {
return get(
nodeValues,
path ? path + '.' + parameterName : parameterName,
path ? path + '.' + parameterName : parameterName
);
}

View File

@@ -4,11 +4,11 @@ import {
IConnections,
IGetExecuteTriggerFunctions,
INode,
INodes,
INodeExecuteFunctions,
INodeExecutionData,
INodeIssues,
INodeParameters,
INodes,
INodeType,
INodeTypes,
IPollFunctions,
@@ -129,7 +129,7 @@ export class Workflow {
returnConnection[connectionInfo.node][connectionInfo.type][connectionInfo.index].push({
node: sourceNode,
type,
index: parseInt(inputIndex, 10)
index: parseInt(inputIndex, 10),
});
}
}

View File

@@ -63,7 +63,7 @@ export class WorkflowDataProxy {
}
return contextData[name];
}
},
});
}
@@ -101,7 +101,7 @@ export class WorkflowDataProxy {
}
return returnValue;
}
},
});
}
@@ -252,7 +252,7 @@ export class WorkflowDataProxy {
}
return Reflect.get(target, name, receiver);
}
},
});
}
@@ -269,7 +269,7 @@ export class WorkflowDataProxy {
return new Proxy({}, {
get(target, name, receiver) {
return process.env[name.toString()];
}
},
});
}
@@ -298,7 +298,7 @@ export class WorkflowDataProxy {
// @ts-ignore
return that.workflow[name.toString()];
}
},
});
}
@@ -316,7 +316,7 @@ export class WorkflowDataProxy {
return new Proxy({}, {
get(target, name, receiver) {
return that.nodeDataGetter(name.toString());
}
},
});
}
@@ -375,7 +375,7 @@ export class WorkflowDataProxy {
}
return Reflect.get(target, name, receiver);
}
},
});
}
}