Skip to content

Commit dc646c0

Browse files
committed
doc: Error message tweaks
1 parent a2a37bf commit dc646c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/scala/com/codacy/rules/ReportRules.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class ReportRules(coverageServices: => CoverageServices, gitFileFetcher: GitFile
120120
*/
121121
private[rules] def storeReport(report: CoverageReport, file: File) = {
122122
if (report.fileReports.isEmpty)
123-
Left(s"The provided coverage report ${file.getAbsolutePath} is empty or contains no data for repository files.")
123+
Left(s"The uploaded coverage report ${file.getAbsolutePath} is empty or contains no data for repository files.")
124124
else {
125125
val codacyReportFile = File.createTempFile("codacy-coverage-", ".json")
126126

src/main/scala/com/codacy/transformation/GitFileNameUpdaterAndFilter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GitFileNameUpdaterAndFilter(acceptableFileNames: Seq[String]) extends Tran
1919

2020
if (maybeFilename.isEmpty)
2121
logger
22-
.warn(s"File: Ignoring $filename for coverage calculation, no matching file found in the repository.")
22+
.warn(s"File: Ignoring $filename for coverage calculation. No matching file found in the repository.")
2323

2424
maybeFilename
2525
}

0 commit comments

Comments
 (0)