mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Merge pull request #2 from felickz/copilot/fix-1760475-601388369-59cd8e3d-0895-49ec-9025-a9864c8e5367
Fix generate-code-scanning-query-list.py to handle empty code-quality-extended suites
This commit is contained in:
@@ -184,8 +184,8 @@ with CodeQL() as codeql:
|
||||
sys.exit("You can use '--ignore-missing-query-packs' to ignore this error")
|
||||
|
||||
# Exception for the code-quality suites, which might be empty, but must be resolvable.
|
||||
if pack == 'code-quality' and queries_subp == '':
|
||||
print(f'Warning: skipping empty suite code-quality', file=sys.stderr)
|
||||
if pack in ['code-quality', 'code-quality-extended'] and queries_subp == '':
|
||||
print(f'Warning: skipping empty suite {pack}', file=sys.stderr)
|
||||
continue
|
||||
|
||||
# Investigate metadata for every query by using 'codeql resolve metadata'
|
||||
|
||||
Reference in New Issue
Block a user