refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-09 18:13:15 +01:00
committed by GitHub
parent 5790e5e719
commit 7a4e9ef5fa
667 changed files with 1848 additions and 1590 deletions

View File

@@ -80,7 +80,7 @@ export class Code implements INodeType {
const context = getSandboxContext.call(this);
context.items = context.$input.all();
const sandbox = new Sandbox(context, workflowMode, nodeMode);
const sandbox = new Sandbox(context, workflowMode, nodeMode, this.helpers);
if (workflowMode === 'manual') {
sandbox.on('console.log', this.sendMessageToUI);
@@ -113,7 +113,7 @@ export class Code implements INodeType {
const context = getSandboxContext.call(this, index);
context.item = context.$input.item;
const sandbox = new Sandbox(context, workflowMode, nodeMode);
const sandbox = new Sandbox(context, workflowMode, nodeMode, this.helpers);
if (workflowMode === 'manual') {
sandbox.on('console.log', this.sendMessageToUI);