mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Rename disabled to enabled in runner config (#11621)
This commit is contained in:
@@ -108,7 +108,7 @@ export class Code implements INodeType {
|
||||
: 'javaScript';
|
||||
const codeParameterName = language === 'python' ? 'pythonCode' : 'jsCode';
|
||||
|
||||
if (!runnersConfig.disabled && language === 'javaScript') {
|
||||
if (runnersConfig.enabled && language === 'javaScript') {
|
||||
const code = this.getNodeParameter(codeParameterName, 0) as string;
|
||||
const sandbox = new JsTaskRunnerSandbox(code, nodeMode, workflowMode, this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user