feat(Code Node): Set defaultVersion to 2 for V1 RC builds (no-changelog) (#6209)

This will enable python in the Code node.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-09 15:28:30 +00:00
committed by GitHub
parent 06948b5ba5
commit 18b60c4170
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
import { major } from 'semver';
import { version } from '../package.json';
export const IS_V1_RELEASE = major(version) > 0;