Skip to content

Commit

Permalink
feat: Apply review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklem authored Jan 23, 2024
1 parent dc646c0 commit 1b347d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/codacy/rules/ReportRules.scala
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class ReportRules(coverageServices: => CoverageServices, gitFileFetcher: GitFile
*/
private[rules] def storeReport(report: CoverageReport, file: File) = {
if (report.fileReports.isEmpty)
Left(s"The uploaded coverage report ${file.getAbsolutePath} is empty or contains no data for repository files.")
Left(s"The generated coverage report ${file.getAbsolutePath} is empty or contains no data for repository files.")
else {
val codacyReportFile = File.createTempFile("codacy-coverage-", ".json")

Expand Down

0 comments on commit 1b347d3

Please sign in to comment.