Open mattfirtion opened 1 month ago
When a buildRoot array is set in .scala-steward.conf and scalafmt is upgraded, Scala Steward tries to run scalafmt --non-interactive from the root of the repository instead of the buildRoot, where .scalafmt.conf most likely lives.
.scala-steward.conf
scalafmt
scalafmt --non-interactive
.scalafmt.conf
2024-05-20 20:35:48,592 WARN Post-update hook failed org.scalasteward.core.io.process$ProcessFailedException: '"SBT_OPTS=-Xmx2048m -Xss8m -XX:MaxMetaspaceSize=512m" scalafmt --non-interactive' exited with code 16. error: missing Scalafmt configuration file.
When a buildRoot array is set in
.scala-steward.conf
andscalafmt
is upgraded, Scala Steward tries to runscalafmt --non-interactive
from the root of the repository instead of the buildRoot, where.scalafmt.conf
most likely lives.