From d2d0ba70ac4f39f6c8f18b2a672078e34d71ccb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Wed, 17 Jul 2024 14:21:33 +0800 Subject: [PATCH] feat: update --- .../src/coverage/services/coverage-client.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/canyon-backend/src/coverage/services/coverage-client.service.ts b/packages/canyon-backend/src/coverage/services/coverage-client.service.ts index 091cb9e8..76a5bc12 100755 --- a/packages/canyon-backend/src/coverage/services/coverage-client.service.ts +++ b/packages/canyon-backend/src/coverage/services/coverage-client.service.ts @@ -134,7 +134,7 @@ export class CoverageClientService { id: `__${projectID}__${sha}__${path}__`, mapJsonStr: JSON.stringify(value), //???没删除bfs mapJsonStatementMapStartLine: JSON.stringify( - filterStatementMap(value.statementMap), + filterStatementMap(value.statementMap || {}), ), projectID: projectID, sha: sha,