fix: data format and style problems

This commit is contained in:
2023-09-19 07:30:58 +08:00
parent 86ba9749be
commit 3b5aee9fb8

View File

@@ -179,8 +179,7 @@ data class AppErrorsInfoBean(
Generated by AppErrorsTracking Generated by AppErrorsTracking
Project Url: https://github.com/KitsunePie/AppErrorsTracking Project Url: https://github.com/KitsunePie/AppErrorsTracking
=============== ===============
$environmentInfo """.trimIndent() + "\n$environmentInfo"
""".trimIndent()
/** /**
* 获取异常堆栈文件模板 * 获取异常堆栈文件模板
@@ -192,7 +191,7 @@ data class AppErrorsInfoBean(
Generated by AppErrorsTracking Generated by AppErrorsTracking
Project Url: https://github.com/KitsunePie/AppErrorsTracking Project Url: https://github.com/KitsunePie/AppErrorsTracking
================================================================ ================================================================
""".trimIndent() """.trimIndent() + "\n$environmentInfo"
/** /**
* 获取运行环境信息 * 获取运行环境信息
@@ -215,6 +214,5 @@ data class AppErrorsInfoBean(
[Error Type]: ${if (isNativeCrash) "Native" else "JVM"} [Error Type]: ${if (isNativeCrash) "Native" else "JVM"}
[Crash Time]: $utcTime [Crash Time]: $utcTime
[Stack Trace]: [Stack Trace]:
$stackTrace """.trimIndent() + "\n$stackTrace"
""".trimIndent()
} }