Skip to content

Commit

Permalink
add parentheses. prepare sbt 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 5, 2024
1 parent 2d052e9 commit 1944e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/sbtunidoc/Unidoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}
Expand Down

0 comments on commit 1944e33

Please sign in to comment.