File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ lazy val scalafixTests = project
333
333
.enablePlugins(BuildInfoPlugin , ScalafixTestkitPlugin )
334
334
335
335
val ciScalaVersion = sys.env.get(" CI_SCALA_VERSION" ).flatMap(Version .parse)
336
- val ciPlatform = sys.env.get(" CI_PLATFORM" )
336
+ val ciPlatform = sys.env.get(" CI_PLATFORM" ).map(p => if (p == " JVM " ) " " else p)
337
337
val isScalafix = sys.env.get(" CI_MODE" ) == Some (" testScalafix" )
338
338
val isScalafmt = sys.env.get(" CI_MODE" ) == Some (" testScalafmt" )
339
339
val isBinaryCompat = sys.env.get(" CI_MODE" ) == Some (" testBinaryCompat" )
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ import java.io.File
30
30
trait MultiScala {
31
31
def majorMinor (in : String ): String = {
32
32
val Array (major, minor, _) = in.split(" \\ ." )
33
- major + minor
33
+ if (major == " 2" )
34
+ s " $major$minor"
35
+ else
36
+ major
34
37
}
35
38
36
39
def projectIdPerScala (name : String , scalaV : String ): String = s " $name${majorMinor(scalaV)}"
You can’t perform that action at this time.
0 commit comments