Skip to content

Commit abdd2ff

Browse files
committed
Fix fallback to add n8n context in runCode
1 parent 1ebb2e8 commit abdd2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodes/YepCode/actions/runCode.operation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export async function execute(this: IExecuteFunctions): Promise<INodeExecutionDa
171171
};
172172

173173
const nodeMode = this.getNodeParameter('mode', 0) as CodeExecutionMode;
174-
let addN8nContext = false;
174+
let addN8nContext = true;
175175
const showAdvanced = this.getNodeParameter('showAdvancedForRunCode', 0) as boolean;
176176
if (showAdvanced) {
177177
options.language = this.getNodeParameter('language', 0) as string;

0 commit comments

Comments
 (0)