Skip to content

Commit

Permalink
Exclude fatal warning to compile play
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed May 6, 2024
1 parent e0dc4cb commit b41de28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.typelevel.scalacoptions.ScalacOptions

inThisBuild(
Seq(
scalaVersion := "2.13.14",
Expand All @@ -13,6 +15,7 @@ inThisBuild(
)

val commonSettings = Seq(
tpolecatExcludeOptions += ScalacOptions.fatalWarnings
)

lazy val core = project
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/team.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ object Query {

private val searchableFields = List(Fields.name, Fields.description)

implicit val jsonReader: Reads[lila.search.team.Query] = Json.reads[Query]
implicit val jsonReader: Reads[Query] = Json.reads[Query]
}

0 comments on commit b41de28

Please sign in to comment.