Skip to content

Commit

Permalink
chore(cocoapods): Fix-up an unnecessary mapNotNull
Browse files Browse the repository at this point in the history
This is a fix-up for ed9ce11.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Jul 17, 2024
1 parent a9c45a2 commit 30cb7dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ internal fun String.parseLockfile(): Lockfile {
val root = Yaml.default.parseToYamlNode(this).yamlMap
val pods = root.get<YamlList>("PODS")?.items.orEmpty().map { it.toPod() }

val checkoutOptions = root.get<YamlMap>("CHECKOUT OPTIONS")?.entries.orEmpty().mapNotNull {
val checkoutOptions = root.get<YamlMap>("CHECKOUT OPTIONS")?.entries.orEmpty().map {
val name = it.key.content
val node = it.value.yamlMap

Expand Down

0 comments on commit 30cb7dd

Please sign in to comment.