diff --git a/project/build.properties b/project/build.properties index ee4c672..0b699c3 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.10.1 +sbt.version=1.10.2 diff --git a/src/main/scala/sbtunidoc/Unidoc.scala b/src/main/scala/sbtunidoc/Unidoc.scala index 6daf9d1..2c29c3e 100644 --- a/src/main/scala/sbtunidoc/Unidoc.scala +++ b/src/main/scala/sbtunidoc/Unidoc.scala @@ -52,10 +52,10 @@ object Unidoc { private[this] def exported(s: TaskStreams, command: String): Seq[String] => Unit = args => exported(s.text("export"), command) private[this] def foldMappers[A](mappers: Seq[A => Option[A]]) = - mappers.foldRight({ p: A => + mappers.foldRight({ (p: A) => p }) { (mapper, mappers) => - { p: A => + { (p: A) => mapper(p).getOrElse(mappers(p)) } }