Set checkPresence in diff-range data extension
This commit updates the diff-range data extension to use the new checkPresence field being introduced in CodeQL CLI 2.21.0, so that diff-informed analysis no longer fails when a query pack does not have the restrictAlertsTo extensible predicate.
This commit is contained in:
parent
362ef4ce20
commit
94102d99b0
6 changed files with 6 additions and 6 deletions
1
lib/analyze.js
generated
1
lib/analyze.js
generated
|
|
@ -358,6 +358,7 @@ extensions:
|
|||
- addsTo:
|
||||
pack: codeql/util
|
||||
extensible: restrictAlertsTo
|
||||
checkPresence: false
|
||||
data:
|
||||
`;
|
||||
let data = ranges
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
3
lib/feature-flags.js
generated
3
lib/feature-flags.js
generated
|
|
@ -96,8 +96,7 @@ exports.featureConfig = {
|
|||
[Feature.DiffInformedQueries]: {
|
||||
defaultValue: false,
|
||||
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
||||
minimumVersion: undefined,
|
||||
toolsFeature: tools_features_1.ToolsFeature.DatabaseInterpretResultsSupportsSarifRunProperty,
|
||||
minimumVersion: "2.21.0",
|
||||
},
|
||||
[Feature.DisableCsharpBuildless]: {
|
||||
defaultValue: false,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -517,6 +517,7 @@ extensions:
|
|||
- addsTo:
|
||||
pack: codeql/util
|
||||
extensible: restrictAlertsTo
|
||||
checkPresence: false
|
||||
data:
|
||||
`;
|
||||
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ export const featureConfig: Record<
|
|||
[Feature.DiffInformedQueries]: {
|
||||
defaultValue: false,
|
||||
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
||||
minimumVersion: undefined,
|
||||
toolsFeature: ToolsFeature.DatabaseInterpretResultsSupportsSarifRunProperty,
|
||||
minimumVersion: "2.21.0",
|
||||
},
|
||||
[Feature.DisableCsharpBuildless]: {
|
||||
defaultValue: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue