diff --git a/plugins/package-managers/conan/src/main/kotlin/Conan.kt b/plugins/package-managers/conan/src/main/kotlin/Conan.kt index 923b4590aa7e..f9f401db8723 100644 --- a/plugins/package-managers/conan/src/main/kotlin/Conan.kt +++ b/plugins/package-managers/conan/src/main/kotlin/Conan.kt @@ -328,7 +328,7 @@ class Conan( Json.parseToJsonElement(jsonFile.readText()).jsonObject.also { jsonFile.parentFile.safeDeleteRecursively(force = true) } - }.get(field)?.jsonPrimitive?.content.orEmpty() + }[field]?.jsonPrimitive?.content.orEmpty() /** * Find the [PackageInfo] that represents the project defined in the definition file.