fix: stop a check that cannot answer exiting zero

This commit is contained in:
Abdessamad Derraz committed 2026-09-07 05:39:50 +02:00
1 parent 1c976390d7
commit 6d97fbe127
5 files changed
+129 -7

No files matched your search

+5
View File
@@ -196,6 +196,11 @@ def main() -> None:
if args.update:
update_changed(report)
# Unreachable upstream means the freshness question was not answered, and
# a zero exit says it was answered "fresh".
if report.get("error"):
raise SystemExit(1)
if __name__ == "__main__":
main()