From 6653d5e28d047b2e3c7cff4d2e4f473885bcf3d9 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Tue, 12 Nov 2024 16:06:15 +0800 Subject: [PATCH] chore: repo overall update --- .../src/apps/cov/services/coverage-map-client.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/canyon-backend/src/apps/cov/services/coverage-map-client.service.ts b/packages/canyon-backend/src/apps/cov/services/coverage-map-client.service.ts index 5284b72d..9dd9be8b 100755 --- a/packages/canyon-backend/src/apps/cov/services/coverage-map-client.service.ts +++ b/packages/canyon-backend/src/apps/cov/services/coverage-map-client.service.ts @@ -2,7 +2,7 @@ import {PrismaService} from "../../../prisma/prisma.service"; import {Injectable} from "@nestjs/common"; import {IstanbulHitMapSchema, IstanbulMapMapSchema} from "../../../zod/istanbul.zod"; import {compressedData} from "../../../utils/zstd"; -import {formatReportObject, resetCoverageData} from "../../../utils/coverage"; +import {formatReportObject, regularData, resetCoverageData} from "../../../utils/coverage"; @Injectable() export class CoverageMapClientService { @@ -18,7 +18,7 @@ export class CoverageMapClientService { const {coverage} =await formatReportObject({ - coverage: resetCoverageData(oldcoverage), + coverage: resetCoverageData(regularData(oldcoverage)), instrumentCwd: invoke.instrumentCwd, })