mirror of https://github.com/sbt/sbt.git
[2.x] refactor: Fix Aggregation.printSettings pattern matching (#8790)
This commit is contained in:
parent
fe1caa8ddf
commit
808dfefa59
|
|
@ -52,8 +52,8 @@ object Aggregation {
|
|||
display: Show[ScopedKey[?]]
|
||||
): Unit =
|
||||
xs match {
|
||||
case KeyValue(_, x: Seq[?]) :: Nil => print(x.mkString("* ", "\n* ", ""))
|
||||
case KeyValue(_, x) :: Nil => print(x.toString)
|
||||
case Seq(KeyValue(_, x: Seq[?])) => print(x.mkString("* ", "\n* ", ""))
|
||||
case Seq(KeyValue(_, x)) => print(x.toString)
|
||||
case _ =>
|
||||
xs foreach { kv =>
|
||||
print(display.show(kv.key))
|
||||
|
|
|
|||
Loading…
Reference in New Issue