Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault authored and joan38 committed Jan 21, 2025
1 parent 02daa25 commit bfbebc4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ trait ScalafixModule extends ScalaModule {
def scalafixRepositories: Task[Seq[Repository]] = Task.Anon {
repositoriesTask().filter {
case repo if repo.getClass.getName == "mill.scalalib.JavaModule$InternalRepo" =>
// Change to this when bumping to Mill > 0.12.5:
// Change to this when bumping to Mill 0.13.x:
// case _: mill.scalalib.JavaModule.InternalRepo =>
// no need to pass Mill's internal repository to scalafix
false
case _ => true
}
}

@deprecated("Scalafix now follows scalaVersion", since = "0.4.2")
def scalafixScalaBinaryVersion: T[String] = "2.12"

Expand Down

0 comments on commit bfbebc4

Please sign in to comment.