File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
test/scala/scalafix/internal/sbt Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import sbt._
22
33object Dependencies {
44 val x = List (1 ) // scalafix:ok
5- def scalafixVersion : String = " 0.13 .0"
5+ def scalafixVersion : String = " 0.14 .0"
66
77 val all = List (
88 " org.eclipse.jgit" % " org.eclipse.jgit" % " 5.13.3.202401111512-r" ,
Original file line number Diff line number Diff line change @@ -133,8 +133,13 @@ object ScalafixEnable {
133133 semanticdbVersion := recommendedSemanticdbV.toString
134134 )
135135 case Success (earliestAvailable :: tail) =>
136+ val safeRecommendedSemanticdbV =
137+ if (recommendedSemanticdbV.toString == " 4.12.4.1" )
138+ VersionNumber (" 4.12.4" )
139+ else recommendedSemanticdbV
140+
136141 val futureVersion =
137- SemanticSelector .apply(s " > ${recommendedSemanticdbV }" )
142+ SemanticSelector .apply(s " > ${safeRecommendedSemanticdbV }" )
138143
139144 if (earliestAvailable.matchesSemVer(futureVersion)) {
140145 Seq (
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class ScalafixAPISuite extends AnyFunSuite {
3636 " 2.12" ,
3737 Arg .ToolClasspath (
3838 Nil ,
39- List (" ch.epfl.scala" %% " example-scalafix-rule" % " 5 .0.0" ),
39+ List (" ch.epfl.scala" %% " example-scalafix-rule" % " 6 .0.0" ),
4040 Seq (
4141 Repository .central,
4242 MavenRepository .of(
You can’t perform that action at this time.
0 commit comments