fix: use command param instead of undefined job variable in run_sync_job
All checks were successful
Deploy / deploy (push) Successful in 11s
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:
2
webui.py
2
webui.py
@@ -280,7 +280,7 @@ async def run_sync_job(job_id: str, command: str) -> None:
|
|||||||
success = proc.returncode == 0
|
success = proc.returncode == 0
|
||||||
# After a successful compare, load structured results for the review UI
|
# After a successful compare, load structured results for the review UI
|
||||||
review_url = ""
|
review_url = ""
|
||||||
if job["command"] == "compare" and success:
|
if command == "compare" and success:
|
||||||
global _compare_state
|
global _compare_state
|
||||||
_compare_state = _load_compare_state()
|
_compare_state = _load_compare_state()
|
||||||
if _compare_state.get("summary", {}).get("in_sync") is not None:
|
if _compare_state.get("summary", {}).get("in_sync") is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user