From 5d9fba57d27ebfd07591f8874e5bf190756cf983 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Thu, 26 Dec 2024 16:39:00 +0800 Subject: [PATCH] chore: daily development --- packages/canyon-backend/src/cov/coverage.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/canyon-backend/src/cov/coverage.controller.ts b/packages/canyon-backend/src/cov/coverage.controller.ts index a149b32b..e1119866 100755 --- a/packages/canyon-backend/src/cov/coverage.controller.ts +++ b/packages/canyon-backend/src/cov/coverage.controller.ts @@ -33,7 +33,7 @@ export class CoverageController { ): Promise { const { projectID, sha, reportID } = coverageSummaryDto; - if (reportID.includes(",")) { + if (reportID && reportID.includes(",")) { return this.coverageDataComputeService.coverageSummaryMap({ projectID, sha,