Skip to content

Commit

Permalink
Avoid enabling coverage accidentally (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown authored May 27, 2021
1 parent c66a3d3 commit 7288e50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ val baseSettings = Seq(
_.filterNot(Set("-Ywarn-unused-import", "-Ywarn-unused:imports"))
},
coverageHighlighting := true,
coverageEnabled := !priorTo2_13(scalaVersion.value),
coverageEnabled := (
if (priorTo2_13(scalaVersion.value)) false else coverageEnabled.value
),
(scalastyleSources in Compile) ++= (unmanagedSourceDirectories in Compile).value
)

Expand Down

0 comments on commit 7288e50

Please sign in to comment.