Skip to content

Commit 65f42e3

Browse files
committed
Inline minimum version number to avoid circular dependency
1 parent d9ceda3 commit 65f42e3

File tree

6 files changed

+6
-18
lines changed

6 files changed

+6
-18
lines changed

lib/codeql.js

Lines changed: 1 addition & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/codeql.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/feature-flags.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/feature-flags.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/codeql.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,6 @@ export const CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = "2.10.3";
298298
*/
299299
export const CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = "2.12.1";
300300

301-
/**
302-
* Versions 2.12.3+ of the CodeQL CLI support exporting information in the code scanning
303-
* configuration file to SARIF.
304-
*/
305-
export const CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG = "2.12.3";
306-
307301
/**
308302
* Versions 2.12.4+ of the CodeQL CLI support the `--qlconfig-file` flag in calls to `database init`.
309303
*/

src/feature-flags.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as path from "path";
44
import * as semver from "semver";
55

66
import { getApiClient } from "./api-client";
7-
import { CodeQL, CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG } from "./codeql";
7+
import { CodeQL } from "./codeql";
88
import * as defaults from "./defaults.json";
99
import { Logger } from "./logging";
1010
import { RepositoryNwo } from "./repository";
@@ -57,7 +57,7 @@ export const featureConfig: Record<
5757
},
5858
[Feature.ExportCodeScanningConfigEnabled]: {
5959
envVar: "CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG",
60-
minimumVersion: CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG,
60+
minimumVersion: "2.12.3",
6161
defaultValue: false,
6262
},
6363
[Feature.MlPoweredQueriesEnabled]: {

0 commit comments

Comments
 (0)