Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
islyn committed Mar 12, 2024
1 parent 4245006 commit ff490ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15189,7 +15189,7 @@ class DiffChecker {
},
};
if (coverageType === 'cobertura') {
this.diffCoverageReport[filePath].filename = newCoverage.filename;
this.diffCoverageReport[filePath].filename = newCoverage.filename || filePath;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/DiffChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class DiffChecker {
},
};
if (coverageType === 'cobertura') {
this.diffCoverageReport[filePath].filename = newCoverage.filename;
this.diffCoverageReport[filePath].filename = newCoverage.filename || filePath;
}
}
}
Expand Down

0 comments on commit ff490ee

Please sign in to comment.