mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-10 12:36:59 +08:00
Ignore empty lines
This commit is contained in:
parent
40dd786f99
commit
51ced7b677
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user