Skip to content

Commit 3c20b95

Browse files
authored
Merge pull request #20747 from felickz/patch-4
Add 'code-quality-extended' to query packs list
2 parents 7c2b1a2 + aac10c1 commit 3c20b95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

misc/scripts/generate-code-scanning-query-list.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Define which languages and query packs to consider
3333
languages = [ "actions", "cpp", "csharp", "go", "java", "javascript", "python", "ruby", "rust", "swift" ]
34-
packs = [ "code-scanning", "security-and-quality", "security-extended", "security-experimental", "code-quality"]
34+
packs = [ "code-scanning", "security-and-quality", "security-extended", "security-experimental", "code-quality", "code-quality-extended"]
3535

3636
class CodeQL:
3737
def __init__(self):
@@ -184,8 +184,8 @@ def subprocess_run(cmd):
184184
sys.exit("You can use '--ignore-missing-query-packs' to ignore this error")
185185

186186
# Exception for the code-quality suites, which might be empty, but must be resolvable.
187-
if pack == 'code-quality' and queries_subp == '':
188-
print(f'Warning: skipping empty suite code-quality', file=sys.stderr)
187+
if pack in ['code-quality', 'code-quality-extended'] and queries_subp == '':
188+
print(f'Warning: skipping empty suite {pack}', file=sys.stderr)
189189
continue
190190

191191
# Investigate metadata for every query by using 'codeql resolve metadata'

0 commit comments

Comments
 (0)