Skip to content

Commit 6c3dffe

Browse files
committed
fix bug
1 parent a2640aa commit 6c3dffe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devops/scripts/benchmarks/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,14 @@ def print_regression(entry: dict, is_warning: bool = False):
474474
if not args.dry_run:
475475
if args.produce_github_summary:
476476
with open(options.github_summary_filename, "w") as f:
477-
f.write("\n".join(summary))
477+
f.write("\n".join(gh_summary))
478478
exit(1) # Exit 1 to trigger Github test failure
479479

480480
log.info("No unexpected regressions found!")
481481
if args.produce_github_summary:
482482
gh_summary.append("No unexpected regressions found!")
483483
with open(options.github_summary_filename, "w") as f:
484-
f.write("\n".join(summary))
484+
f.write("\n".join(gh_summary))
485485

486486
else:
487487
log.error("Unsupported operation: exiting.")

0 commit comments

Comments
 (0)