Skip to content

Commit 70ef578

Browse files
committed
Fix validate.py
1 parent d0abd17 commit 70ef578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/pyscripts/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def main():
152152
break
153153

154154
# Second pass: related references (only for docs that passed schema)
155-
if not args.no_related_check and not args.fail_fast and not all_errors:
155+
if not args.no_related_check and not (args.fail_fast and all_errors):
156156
# Build set of ALL known IDs in the directory (not just validated files)
157157
all_json_files = sorted(args.dir.glob("*.json"))
158158
known_ids = set()

0 commit comments

Comments
 (0)