Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 26, 2024
1 parent 65d053c commit 27a0254
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export class CoverageClientService {
// #endregion

// 首先就要判断,这个是可选步骤,所以用单if,以statementMap来判断
if (Object.values(coverageFromExternalReport)[0]["statementMap"]) {
if (
Object.keys(coverageFromExternalReport).length > 0 &&
Object.values(coverageFromExternalReport)[0]["statementMap"]
) {
// 构建一个coverageMapClientService
await this.coverageMapClientService.invoke({
sha,
Expand Down

0 comments on commit 27a0254

Please sign in to comment.