fix: use command param instead of undefined job variable in run_sync_job
All checks were successful
Deploy / deploy (push) Successful in 11s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-20 16:02:59 +01:00
parent 18d0685ccf
commit 466cf03419

View File

@@ -280,7 +280,7 @@ async def run_sync_job(job_id: str, command: str) -> None:
success = proc.returncode == 0
# After a successful compare, load structured results for the review UI
review_url = ""
if job["command"] == "compare" and success:
if command == "compare" and success:
global _compare_state
_compare_state = _load_compare_state()
if _compare_state.get("summary", {}).get("in_sync") is not None: