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:
|
- addsTo:
|
||||||
pack: codeql/util
|
pack: codeql/util
|
||||||
extensible: restrictAlertsTo
|
extensible: restrictAlertsTo
|
||||||
|
checkPresence: false
|
||||||
data:
|
data:
|
||||||
`;
|
`;
|
||||||
let data = ranges
|
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]: {
|
[Feature.DiffInformedQueries]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
||||||
minimumVersion: undefined,
|
minimumVersion: "2.21.0",
|
||||||
toolsFeature: tools_features_1.ToolsFeature.DatabaseInterpretResultsSupportsSarifRunProperty,
|
|
||||||
},
|
},
|
||||||
[Feature.DisableCsharpBuildless]: {
|
[Feature.DisableCsharpBuildless]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -517,6 +517,7 @@ extensions:
|
||||||
- addsTo:
|
- addsTo:
|
||||||
pack: codeql/util
|
pack: codeql/util
|
||||||
extensible: restrictAlertsTo
|
extensible: restrictAlertsTo
|
||||||
|
checkPresence: false
|
||||||
data:
|
data:
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -112,8 +112,7 @@ export const featureConfig: Record<
|
||||||
[Feature.DiffInformedQueries]: {
|
[Feature.DiffInformedQueries]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
envVar: "CODEQL_ACTION_DIFF_INFORMED_QUERIES",
|
||||||
minimumVersion: undefined,
|
minimumVersion: "2.21.0",
|
||||||
toolsFeature: ToolsFeature.DatabaseInterpretResultsSupportsSarifRunProperty,
|
|
||||||
},
|
},
|
||||||
[Feature.DisableCsharpBuildless]: {
|
[Feature.DisableCsharpBuildless]: {
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue