Skip to content

Commit

Permalink
Change severity in Checkstyle output to lowercase (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikArndt authored Jan 29, 2022
1 parent e38d498 commit 0b69fba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object ScalastyleReportWriter extends ReportWriter {
}

private def warningToXml(warning: Warning) =
<error line={warning.line.toString} message={warning.text} severity={warning.level.toString} source={
<error line={warning.line.toString} message={warning.text} severity={warning.level.toString.toLowerCase()} source={
warning.inspection
} snippet={warning.snippet.orNull} explanation={warning.explanation}></error>

Expand Down

0 comments on commit 0b69fba

Please sign in to comment.