Skip to content

Commit

Permalink
Resolve match may not be exhaustive warning
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfurey committed Jan 8, 2025
1 parent d0c3e29 commit 4a41ba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class FeastPublicationTarget(
)
case EditionsFeastCollection(_, _, metadata) =>
val recipes = metadata
.map(_.collectionItems.map { case EditionsRecipe(id, _) =>
.map(_.collectionItems.collect { case EditionsRecipe(id, _) =>
id
})
.getOrElse(List.empty)
Expand Down

0 comments on commit 4a41ba5

Please sign in to comment.