fix: record every profile a pass writes

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:43:46 +01:00
1 parent 2025a71cb9
commit 714683d63c
5 files changed
+91 -40

No files matched your search

+2 -2
View File
@@ -205,7 +205,7 @@ def main() -> None:
run_realign(args, selected)
return
reports, failed, complete = read_selected(args, selected, writes)
reports, failed, written, complete = read_selected(args, selected, writes)
# --changed-only narrows every output, not the text report alone: the
# documented `--all --changed-only --json` listed every profile.
@@ -214,7 +214,7 @@ def main() -> None:
if not args.changed_only or report.needs_review() or report.name in failed
]
complete = emit_reports(args, selected, reports, shown) is not False and complete
refresh_source_paths(args)
refresh_source_paths(args, written)
if not complete:
raise SystemExit(130)
if failed or (args.strict and any(