diff --git a/README.md b/README.md index 6b4c650..ca3a986 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Log.error("Oops!") Log.assert("Something went wrong!", throwable) ``` -or, if you prefer: +Or, if you prefer: ```kotlin Log.verbose { "FYI" } @@ -170,8 +170,8 @@ val httpClient = HttpClient(CIO) { ## Users -- [Alpha+ Player - Unofficial player for Soma FM](https://play.google.com/store/apps/details?id=saschpe.alphaplus) -- [GameOn - Get games on sale](https://play.google.com/store/apps/details?id=saschpe.gameon) +- [Alpha+ Player — Unofficial player for Soma FM](https://play.google.com/store/apps/details?id=saschpe.alphaplus) +- [GameOn — Get games on sale](https://play.google.com/store/apps/details?id=saschpe.gameon) ## License diff --git a/build.gradle.kts b/build.gradle.kts index a3188ef..1098659 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,10 +10,10 @@ spotless { } kotlin { target("**/*.kt") - ktlint("1.2.1").setEditorConfigPath(".editorconfig") + ktlint("1.3.0").setEditorConfigPath(".editorconfig") } kotlinGradle { - ktlint("1.2.1").setEditorConfigPath(".editorconfig") + ktlint("1.3.0").setEditorConfigPath(".editorconfig") } } diff --git a/log4k/src/jvmTest/kotlin/saschpe/log4k/FileLoggerTest.jvm.kt b/log4k/src/jvmTest/kotlin/saschpe/log4k/FileLoggerTest.jvm.kt index 578ba2e..d059f48 100644 --- a/log4k/src/jvmTest/kotlin/saschpe/log4k/FileLoggerTest.jvm.kt +++ b/log4k/src/jvmTest/kotlin/saschpe/log4k/FileLoggerTest.jvm.kt @@ -9,6 +9,4 @@ internal actual fun deleteRecursively(path: String) { File(path).deleteRecursively() } -internal actual fun filesInFolder(path: String): Int { - return File(path).listFiles()?.size ?: 0 -} +internal actual fun filesInFolder(path: String): Int = File(path).listFiles()?.size ?: 0