build: refresh js files
This commit is contained in:
parent
0b8d151adc
commit
65abb79a75
8 changed files with 32 additions and 54 deletions
6
lib/codeql.js
generated
6
lib/codeql.js
generated
|
|
@ -797,8 +797,12 @@ async function generateCodeScanningConfig(config, logger) {
|
|||
delete augmentedConfig.packs;
|
||||
}
|
||||
augmentedConfig["query-filters"] = [
|
||||
...(config.augmentationProperties.defaultQueryFilters || []),
|
||||
// Ordering matters. If the first filter is an inclusion, it implicitly
|
||||
// excludes all queries that are not included. If it is an exclusion,
|
||||
// it implicitly includes all queries that are not excluded. So user
|
||||
// filters (if any) should always be first to preserve intent.
|
||||
...(augmentedConfig["query-filters"] || []),
|
||||
...(config.augmentationProperties.extraQueryExclusions || []),
|
||||
];
|
||||
if (augmentedConfig["query-filters"]?.length === 0) {
|
||||
delete augmentedConfig["query-filters"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue