Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Dec 13, 2023
1 parent 95b3b6e commit 77a4c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scalalib/src/mill/scalalib/ScalaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ trait ScalaModule extends JavaModule with TestModule.ScalaModuleBase { outer =>
val fail = Result.Failure("The compiler exited with errors (exit code 1)")

{
case true | java.lang.Boolean.TRUE => if(trueIsSuccess) ok else fail
case false | java.lang.Boolean.FALSE => if(trueIsSuccess) fail else ok
case true | java.lang.Boolean.TRUE => if (trueIsSuccess) ok else fail
case false | java.lang.Boolean.FALSE => if (trueIsSuccess) fail else ok
case null if sv.startsWith("2.") =>
// Scala 2.11 and earlier return `Unit` and require use to use the result value,
// which we don't want to implement for just a simple help output of an very old compiler
Expand Down

0 comments on commit 77a4c67

Please sign in to comment.