Skip to content

Commit

Permalink
improve racy test: scalafixAll was triggering Compile/compile
Browse files Browse the repository at this point in the history
Through Test/scalafix & then Test/internalDependencyClasspath,
scalafixAll evaluates Compile/compile, which could make
Compile/scalafix run as expected sometimes before the fix in
68b7e82.
  • Loading branch information
github-brice-jaglin committed Jul 15, 2020
1 parent 68b7e82 commit caab820
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ object LintAllPlugin extends AutoPlugin {
override def projectSettings: Seq[Def.Setting[_]] =
Seq(
lintAll := {
scalafixAll.toTask(" --check").value
scalafix.in(Compile).toTask(" --check").value
// & other linters...
}
)
Expand Down

0 comments on commit caab820

Please sign in to comment.