Skip to content

Commit

Permalink
ignore if */*
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnb-devoted committed Nov 27, 2024
1 parent 7d4b973 commit c7f0417
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spectacles/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@ async def validate_content(
)
if filters is not None or filters == ["*/*"]:
# Only build the full project from the API if we're using a wildcard filter and not in incremental mode
get_full_project = any("*" in f for f in filters) or (not incremental)
get_full_project = any("*" in f for f in filters if f != "*/*") or (
not incremental
)
logger.debug(f"get_full_project = {get_full_project}")

if folders is None:
Expand Down

0 comments on commit c7f0417

Please sign in to comment.