diff --git a/lib/ci/failure_aggregator.js b/lib/ci/failure_aggregator.js index eaa429f2..8c421915 100644 --- a/lib/ci/failure_aggregator.js +++ b/lib/ci/failure_aggregator.js @@ -49,7 +49,7 @@ export class FailureAggregator { } const groupedByType = Object.groupBy(data, ({ type }) => type); - for (const group of Object.value(groupedByType)) { + for (const group of Object.values(groupedByType)) { group.sort((a, b) => b.prs.length - a.prs.length); } this.aggregates = groupedByType;