mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -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),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user