Change evaluateExpression -> $evaluateExpression

This commit is contained in:
Jan Oberhauser
2020-04-13 16:51:04 +02:00
parent 399397fbb7
commit 4ad009214e
6 changed files with 24 additions and 13 deletions

View File

@@ -47,9 +47,6 @@ export class Function implements INodeType {
// Define the global objects for the custom function
const sandbox = {
evaluateExpression: (expression: string, itemIndex = 0) => {
return this.evaluateExpression(expression, itemIndex);
},
getNodeParameter: this.getNodeParameter,
getWorkflowStaticData: this.getWorkflowStaticData,
helpers: this.helpers,