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,