mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(core): Remove conditional defaults in V1 release (#6363)
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
e152cfe27c
commit
f6366160a4
@@ -12,7 +12,6 @@ import { JavaScriptSandbox } from './JavaScriptSandbox';
|
||||
import { PythonSandbox } from './PythonSandbox';
|
||||
import { getSandboxContext } from './Sandbox';
|
||||
import { standardizeOutput } from './utils';
|
||||
import { IS_V1_RELEASE } from '../../utils/constants';
|
||||
|
||||
export class Code implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -21,7 +20,7 @@ export class Code implements INodeType {
|
||||
icon: 'fa:code',
|
||||
group: ['transform'],
|
||||
version: [1, 2],
|
||||
defaultVersion: IS_V1_RELEASE ? 2 : 1,
|
||||
defaultVersion: 2,
|
||||
description: 'Run custom JavaScript code',
|
||||
defaults: {
|
||||
name: 'Code',
|
||||
|
||||
Reference in New Issue
Block a user