Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion misc/scripts/check-query-ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def main():
query_ids: Dict[str, List[str]] = {}

# Just check src folders for now to avoid churn
for query_path in Path().glob("**/src/**/*.ql"):
# The glob can yield the same file more than once when its path contains several `src` folders.
for query_path in sorted(set(Path().glob("**/src/**/*.ql"))):
# Skip compiled query packs
if any(p == ".codeql" for p in query_path.parts):
continue
Expand Down
Loading