Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Apr 8, 2024
1 parent 79f91ac commit cf1a409
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class GetProjectRecordsService {
covType: 'agg',
},
orderBy: {
createdAt: 'desc',
updatedAt: 'desc',
},
}),
),
Expand All @@ -78,7 +78,7 @@ export class GetProjectRecordsService {
commits.find(({ id }) => id === coverage.sha)?.message || '???',
newlines: coverage.summary['newlines']['pct'] || 100,
statements: coverage.summary['statements']['pct'] || 100,
lastReportTime: cs[0]?.createdAt || new Date(),
lastReportTime: cs[0]?.updatedAt || new Date(),
times: cs.length,
logs: [],
};
Expand Down

0 comments on commit cf1a409

Please sign in to comment.