Skip to content

Commit e354f84

Browse files
author
reidspencer
committed
Fix use of wrong split variant
1 parent 6e403cb commit e354f84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/scala/com/ossuminc/sbt/helpers/Laminar.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ object Laminar extends AutoPluginHelper {
2222
val v_laminext = laminextVersion.getOrElse("0.17.1")
2323
val org = v_laminext match {
2424
case s: String if s.startsWith("0.") =>
25-
val strs = s.split(".")
26-
require(strs.length > 2, "Invalid 3 part laminex version")
25+
val strs = s.split('.')
26+
require(strs.length > 2, s"Invalid 3 part laminext version: $s")
2727
val minor = strs(1).toInt
2828
if (minor < 17) "io.laminext"
2929
else if (minor >= 18) "dev.laminext"

0 commit comments

Comments
 (0)