Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jan 13, 2024
1 parent 490abea commit acf433a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/src/main/scala/fix/DiscardSingleConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object DiscardSingleConfig {
implicit val surface: Surface[DiscardSingleConfig] =
metaconfig.generic.deriveSurface[DiscardSingleConfig]

private implicit val lintSeverityDecoderInstance: ConfDecoder[scalafix.lint.LintSeverity] = { conf =>
private implicit val lintSeverityDecoderInstance: ConfDecoder[LintSeverity] = { conf =>
conf.as[String].map(_.toUpperCase(Locale.ROOT)).map {
case "ERROR" =>
LintSeverity.Error
Expand Down

0 comments on commit acf433a

Please sign in to comment.