mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649)
This commit is contained in:
committed by
GitHub
parent
5790e5e719
commit
7a4e9ef5fa
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user