Merge pull request #956 from CepGamer/cepgamer/crashCleanup

Remove unused variable in `CrashReporter`.
This commit is contained in:
MM2-0 2024-07-19 14:09:35 +02:00 committed by GitHub
commit 62d6d4820d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,6 @@ object CrashReporter {
}
suspend fun getCrashReport(filePath: String): CrashReport {
val path = CrashReporter.getCrashReportPath()?.takeIf { it.isEmpty() } ?: CrashUtil.getDefaultPath()
return CrashReport.fromFile(File(filePath), true)
}