Skip to content

Commit

Permalink
refactor: finalizing the public apis
Browse files Browse the repository at this point in the history
  • Loading branch information
CraZyLegenD committed Jun 19, 2020
1 parent 239988a commit 61a94e8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ object CrashyReporter {
* @throws CrashyNotInitializedException see [NOT_REGISTERED_MESSAGE]
*/
@Throws(CrashyNotInitializedException::class)
fun getLogsAsStringsAndPurge() =
dumpFolder.listFiles()?.map { it.readText() }.also { purgeLogs() }
fun getLogsAsStringsAndPurge() = dumpFolder.listFiles()?.map { it.readText() }.also { purgeLogs() }

/**
* Get all dumps as [List] of [File]
Expand Down

0 comments on commit 61a94e8

Please sign in to comment.