diff --git a/plugins/package-managers/cocoapods/src/main/kotlin/Lockfile.kt b/plugins/package-managers/cocoapods/src/main/kotlin/Lockfile.kt index 26b085111d132..27206dd0dc1bc 100644 --- a/plugins/package-managers/cocoapods/src/main/kotlin/Lockfile.kt +++ b/plugins/package-managers/cocoapods/src/main/kotlin/Lockfile.kt @@ -58,7 +58,7 @@ internal fun String.parseLockfile(): Lockfile { val root = Yaml.default.parseToYamlNode(this).yamlMap val pods = root.get("PODS")?.items.orEmpty().map { it.toPod() } - val checkoutOptions = root.get("CHECKOUT OPTIONS")?.entries.orEmpty().mapNotNull { + val checkoutOptions = root.get("CHECKOUT OPTIONS")?.entries.orEmpty().map { val name = it.key.content val node = it.value.yamlMap