Skip to content

Commit

Permalink
Remove hyperlink to file attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyicker committed Oct 26, 2018
1 parent 35015fd commit 49479d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ abstract class CommonCheck<Config extends CommonConfig> {
}
throw new GradleException(errorMessage)
} else {
System.err.println(errorMessage)
target.logger.warn errorMessage
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ class CheckstyleCheck extends CommonCheck {

@Override
protected String getErrorMessage(int errorCount, File htmlReportFile) {
def reportPath = htmlReportFile.toURI()
return "$errorCount Checkstyle rule violations were found. See the report at: " +
"""\\e]8;;""" + reportPath + """\\e\\\\""" + reportPath + """\\e]8;;\\e\\\\"""
return "$errorCount Checkstyle rule violations were found. See the report at: ${htmlReportFile.toURI()}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ class PmdCheck extends CommonCheck {

@Override
protected String getErrorMessage(int errorCount, File htmlReportFile) {
def reportPath = htmlReportFile.toURI()
return "$errorCount PMD rule violations were found. See the report at: " +
"""\\e]8;;""" + reportPath + """\\e\\\\""" + reportPath + """\\e]8;;\\e\\\\"""
return "$errorCount Checkstyle rule violations were found. See the report at: ${htmlReportFile.toURI()}"
}
}

0 comments on commit 49479d9

Please sign in to comment.