From 0e0c6554b5145ee13c0fd682d11baaa8d73dff95 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 30 Dec 2024 16:55:55 +0800 Subject: [PATCH] chore: daily development --- .../src/apps/collect/services/coverage-client.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/canyon-collect/src/apps/collect/services/coverage-client.service.ts b/packages/canyon-collect/src/apps/collect/services/coverage-client.service.ts index 4ca78b44..122c0a4a 100755 --- a/packages/canyon-collect/src/apps/collect/services/coverage-client.service.ts +++ b/packages/canyon-collect/src/apps/collect/services/coverage-client.service.ts @@ -26,7 +26,7 @@ export class CoverageClientService { compareTarget, reporter, }) { - const { provider, repoID, slug } = parseProjectID(projectID); + const { repoID } = parseProjectID(projectID); const reportID = _reportID || sha; // #region == Step x: 解析出上报上来的覆盖率数据 const coverageFromExternalReport = @@ -51,7 +51,7 @@ export class CoverageClientService { const count = await this.prisma.coverageMap.count({ where: { repoID: { - contains: `${provider}-${repoID}`, + contains: repoID, }, sha: sha, },