fix(evidence): make result summaries safe
This commit is contained in:
@@ -172,9 +172,11 @@ def evidence_cmd(
|
||||
if json_output:
|
||||
typer.echo(json.dumps(payload, ensure_ascii=False, sort_keys=True))
|
||||
else:
|
||||
counts = payload["counts"]
|
||||
typer.echo(
|
||||
f"OK: run={payload['run_id']} generation={payload['generation']} changed={len(payload['changed'])} "
|
||||
f"unchanged={len(payload['unchanged'])} removed={len(payload['removed'])}"
|
||||
f"OK: run={payload['run_id']} generation={payload['generation']} "
|
||||
f"changed={counts['changed']} unchanged={counts['unchanged']} "
|
||||
f"removed={counts['removed']}"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user