Skip to content

Commit

Permalink
Merge pull request #381 from usefulness/renovate/ktlint
Browse files Browse the repository at this point in the history
Update dependency com.pinterest.ktlint:ktlint-cli to v1.4.0
  • Loading branch information
mateuszkwiecinski authored Oct 27, 2024
2 parents b247155 + 56ce5d7 commit 95a39af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin = "2.0.21"
ktlint-gradle-plugin = "0.10.0"
r8 = "8.5.35"
assertJ = "3.26.3"
ktlint = "1.3.1"
ktlint = "1.4.0"

[libraries]
dalvikDx = { module = "com.jakewharton.android.repackaged:dalvik-dx", version.ref = "dalvikdx" }
Expand Down
3 changes: 1 addition & 2 deletions io/src/main/kotlin/com/jakewharton/diffuse/io/Zip.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ interface Zip : Closeable {

fun find(path: String) = entries.firstOrNull { it.path == path }

operator fun get(path: String) =
find(path) ?: throw FileNotFoundException("No entry: $path")
operator fun get(path: String) = find(path) ?: throw FileNotFoundException("No entry: $path")

interface Entry {
val path: String
Expand Down

0 comments on commit 95a39af

Please sign in to comment.