Skip to content

Commit

Permalink
fix warns when coverage is called
Browse files Browse the repository at this point in the history
  • Loading branch information
niladic committed Oct 2, 2024
1 parent e8bd13d commit dc24ef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ scalacOptions ++= Seq(
// Note: To show all possible warns use "-W", for Wconf filters, use "-Wconf:help"
// Silence a warning from anorm https://github.com/playframework/anorm/issues/568
"-Wconf:src=src/.*/anorm/macros/RowParserImpl.scala:s",
"-Wconf:src=app/services/.*.scala&msg=would fail on pattern case.*anorm:s",
// Silence warns generated by Play codes generators
// https://github.com/playframework/playframework/issues/6302
// - first one is due to -Wnonunit-statement with routes generator
Expand All @@ -58,7 +59,7 @@ scalacOptions ++= Seq(
"-Wvalue-discard",
)

val anormVersion = "2.7.0"
val anormVersion = "2.7.0" // TODO: on update, remove the warnings silencers

lazy val anormDependency = "org.playframework.anorm" %% "anorm" % anormVersion

Expand Down

0 comments on commit dc24ef7

Please sign in to comment.