scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

scala-steward doesn't feel an old version of Scala Native at wired formating

Open catap opened this issue 3 years ago • 2 comments
trafficstars

I have a repo https://github.com/kcrypt/scala-sha where scala-steward doesn't feel that Scala-Native need to be updated.

Probably because it's a formatting which was bit wired:

val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.10.0")
val scalaNativeJSVersion = Option(System.getenv("SCALANATIVE_VERSION"))
  .getOrElse("0.4.2")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
addSbtPlugin("org.scala-native" % "sbt-scala-native" % scalaNativeJSVersion)

anyway, it was produced by scala-fmt.

catap avatar May 10 '22 22:05 catap

Yes, it is due to format, I think. Current implementation requires artifact name and version number in a single line.

exoego avatar May 10 '22 23:05 exoego

@exoego and here the issue: scala-fmt creates such formating.

Do you think it should be fixed on scala-steward size? or on scala-fmt?

catap avatar May 11 '22 08:05 catap