Skip to content

Commit

Permalink
fix: delete x
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang committed Dec 5, 2023
1 parent 46357d5 commit 1cc0cf3
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,11 @@ export class ProjectOverviewService {
if (!acc[commitSha]) {
acc[commitSha] = {
statements: calculateCoverageOverviewByConditionFilter(
//❌
summarys.filter(
(item) => item.commitSha === commitSha && 'all' === item.covType,
),
).statements.pct,
newlines: calculateCoverageOverviewByConditionFilter(
//❌
summarys.filter(
(item) => item.commitSha === commitSha && 'all' === item.covType,
),
Expand Down Expand Up @@ -166,14 +164,12 @@ export class ProjectOverviewService {
return {
commitSha: item.commitSha,
statements: calculateCoverageOverviewByConditionFilter(
//❌
summarys.filter(
({ commitSha: curCommitSha, covType }) =>
curCommitSha === item.commitSha && 'all' === covType,
),
).statements.pct,
newlines: calculateCoverageOverviewByConditionFilter(
//❌
summarys.filter(
({ commitSha: curCommitSha, covType }) =>
curCommitSha === item.commitSha && 'all' === covType,
Expand Down

0 comments on commit 1cc0cf3

Please sign in to comment.