Ignore empty lines

This commit is contained in:
Him188 2020-05-09 17:14:34 +08:00
parent 40dd786f99
commit 51ced7b677

View File

@ -182,7 +182,7 @@ private fun Any.contentToStringReflectively(
else value._miraiContentToString(newPrefix) else value._miraiContentToString(newPrefix)
}.getOrElse { "<!>" } }.getOrElse { "<!>" }
} }
} + "\n$prefix}" }.lines().filterNot { it.isBlank() }.joinToString("\n") + "\n$prefix}"
} }
// on JVM, it will be resolved to member function // on JVM, it will be resolved to member function