[2.x] refactor: Fix Aggregation.printSettings pattern matching (#8790)

This commit is contained in:
kenji yoshida
2026-02-22 22:21:50 -05:00
committed by GitHub
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))