Skip to content

Commit

Permalink
fix(deps): update dependency org.ec4j.core:ec4j-core to v1 (#2811)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency org.ec4j.core:ec4j-core to v1

* Force the map returned from ec4j to be mutable

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Paul Dingemans <[email protected]>
  • Loading branch information
renovate[bot] and paul-dingemans authored Oct 4, 2024
1 parent 524ecb3 commit 405b9b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.
kotlin-plugin-dev = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinDev" }
clikt = "com.github.ajalt.clikt:clikt:5.0.0"
dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.20"
ec4j = "org.ec4j.core:ec4j-core:0.3.0"
ec4j = "org.ec4j.core:ec4j-core:1.0.0"
logging = "io.github.oshai:kotlin-logging-jvm:7.0.0"
slf4j = "org.slf4j:slf4j-simple:2.0.16"
poko = "dev.drewhamilton.poko:poko-gradle-plugin:0.17.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ internal class EditorConfigLoader(
createResourcePropertiesService(editorConfigLoaderEc4j.editorConfigLoader, editorConfigDefaults)
.queryProperties(editorConfigPath.resource())
.properties
.toMutableMap()
return editorConfigProperties
.also { properties ->
if (properties[TAB_WIDTH_PROPERTY_NAME]?.sourceValue == properties[INDENT_SIZE_PROPERTY.name]?.sourceValue &&
Expand Down

0 comments on commit 405b9b3

Please sign in to comment.