Hi,
Thanks for sbt-scalafmt. We use it extensively. I create this issue mostly for documentation purposes because I guess we won't be the only to have this issue. We have an in-house sbt plugin that uses sbt-scalafmt. Bumping from 2.4.4 to 2.4.5, one of our test started to fail.
The test contains one source file that is badly formatted. When sbt runs the test, it copies everything into a new directory, where git is not setup. I understand that's why scalafmtCheckAll does not fail anymore: git is not setup, but our config says git is.
Looking at the changelog, I can see #172 could have an effect on this.
I have a solution and it's fine for me.
Hi,
Thanks for sbt-scalafmt. We use it extensively. I create this issue mostly for documentation purposes because I guess we won't be the only to have this issue. We have an in-house sbt plugin that uses sbt-scalafmt. Bumping from 2.4.4 to 2.4.5, one of our test started to fail.
The test contains one source file that is badly formatted. When sbt runs the test, it copies everything into a new directory, where git is not setup. I understand that's why
scalafmtCheckAlldoes not fail anymore: git is not setup, but our config says git is.Looking at the changelog, I can see #172 could have an effect on this.
I have a solution and it's fine for me.