From b47d761556d68c064319965f878e8cb2a1b11a3d Mon Sep 17 00:00:00 2001 From: nigredo-tori Date: Fri, 10 Apr 2020 17:05:24 +0700 Subject: [PATCH] Avoid a race between formatting and scaladoc #90 (#91) --- plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala b/plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala index 3422e7f..ca05da6 100644 --- a/plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala +++ b/plugin/src/main/scala/org/scalafmt/sbt/ScalafmtPlugin.scala @@ -372,7 +372,7 @@ object ScalafmtPlugin extends AutoPlugin { Def.task(()) } }.value, - compileInputs in compile := (compileInputs in compile) + sources in Compile := (sources in Compile) .dependsOn(scalafmtDoFormatOnCompile) .value, scalafmtOnly := {