Use supportsFeature check for merging SARIF files

This commit is contained in:
Koen Vlaswinkel 2024-03-22 14:14:34 +01:00
parent 2bbafcdd7f
commit e20c273295
9 changed files with 27 additions and 9 deletions

3
lib/feature-flags.js generated
View file

@ -61,8 +61,7 @@ var Feature;
exports.featureConfig = {
[Feature.CliSarifMerge]: {
envVar: "CODEQL_ACTION_CLI_SARIF_MERGE",
// This feature is only supported in 2.17.0, but we'll want to test this feature
// with nightly builds before that. We'll update this to 2.17.0 once it's released.
// This is guarded by a `supportsFeature` check rather than by a version check.
minimumVersion: undefined,
defaultValue: false,
},