Skip to content

Commit

Permalink
Merge pull request #1188 from googlefonts/crater-html-determinism
Browse files Browse the repository at this point in the history
[crater] Make summary sort order deterministic
  • Loading branch information
rsheeter authored Dec 19, 2024
2 parents f4bbddc + 4eae07f commit 98b99e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fontc_crater/src/ci/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ fn make_summary_report(current: &DiffResults) -> Markup {
})
.into_iter()
.collect::<Vec<_>>();
results.sort_by_key(|(_, count)| -*count);
results.sort_by_key(|(item, count)| (-*count, *item));

if results.is_empty() {
return html!();
Expand Down

0 comments on commit 98b99e0

Please sign in to comment.