mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-31 03:38:02 +08:00
Ignore empty lines
This commit is contained in:
@@ -182,7 +182,7 @@ private fun Any.contentToStringReflectively(
|
||||
else value._miraiContentToString(newPrefix)
|
||||
}.getOrElse { "<!>" }
|
||||
}
|
||||
} + "\n$prefix}"
|
||||
}.lines().filterNot { it.isBlank() }.joinToString("\n") + "\n$prefix}"
|
||||
}
|
||||
|
||||
// on JVM, it will be resolved to member function
|
||||
|
||||
Reference in New Issue
Block a user