We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b7c84d commit dbd7f45Copy full SHA for dbd7f45
src/main/scala/ScalaModulePlugin.scala
@@ -43,7 +43,7 @@ object ScalaModulePlugin extends AutoPlugin {
43
// The staging repository name. The default is `[sbt-sonatype] name version`. We cross-build
44
// using parallel travis jobs, so we include the Scala/Scala.js versions to make them unique.
45
sonatypeSessionName := {
46
- val sjs = Option(System.getenv("SCALAJS_VERSION")).map(v => s" Scala.js $v").getOrElse("")
+ val sjs = Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).map(v => s" Scala.js $v").getOrElse("")
47
s"${sonatypeSessionName.value} Scala ${scalaVersion.value}$sjs"
48
},
49
)
0 commit comments