diff --git a/site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala b/site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala index fe5a2dcd..21ad6e3f 100644 --- a/site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala +++ b/site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala @@ -102,7 +102,7 @@ object TypelevelSitePlugin extends AutoPlugin { case spec @ JavaSpec(_, version) if version .split('.') - .lift(0) + .headOption .flatMap(v => Try(v.toInt).toOption) .exists(_ >= 11) => spec