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

This commit is contained in:
kenji yoshida 2026-02-23 12:21:50 +09:00 committed by GitHub
parent fe1caa8ddf
commit 808dfefa59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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))