We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179f498 commit 74bfef3Copy full SHA for 74bfef3
modules/core/src/main/scala/org/scalasteward/core/scalafmt/ScalafmtAlg.scala
@@ -54,9 +54,9 @@ final class ScalafmtAlg[F[_]](config: Config)(implicit
54
55
def reformatChanged(buildRoot: BuildRoot): F[Unit] =
56
for {
57
- repoDir <- workspaceAlg.buildRootDir(buildRoot)
+ buildRootDir <- workspaceAlg.buildRootDir(buildRoot)
58
cmd = Nel.of(scalafmtBinary, opts.nonInteractive) ++ opts.modeChanged
59
- _ <- processAlg.exec(cmd, repoDir, slurpOptions = SlurpOptions.ignoreBufferOverflow)
+ _ <- processAlg.exec(cmd, buildRootDir, slurpOptions = SlurpOptions.ignoreBufferOverflow)
60
} yield ()
61
62
def version: F[String] = {
0 commit comments