Skip to content

Commit 063bf3d

Browse files
chore(deps): update detekt to v1.23.1 (#83)
Co-authored-by: Peter Trifanov <[email protected]>
1 parent 4973efb commit 063bf3d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

detekt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ style:
66
formatting:
77
active: true
88
MaximumLineLength:
9+
active: false
10+
ParameterListWrapping:
911
active: false

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
kotlin = "1.8.21"
33
junit = "5.10.0"
4-
detekt = "1.23.0"
4+
detekt = "1.23.1"
55

66
[plugins]
77
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }

src/commonMain/kotlin/io/github/petertrr/diffutils/patch/ConflictOutput.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ConflictProducingConflictOutput : ConflictOutput<String> {
3535
override fun processConflict(verifyChunk: VerifyChunk, delta: Delta<String>, result: MutableList<String>) {
3636
if (result.size > delta.source.position) {
3737
val orgData = mutableListOf<String>()
38-
(0 until delta.source.size()).forEach { _ ->
38+
repeat(delta.source.size()) { _ ->
3939
orgData.add(
4040
result.removeAt(delta.source.position)
4141
)

0 commit comments

Comments
 (0)