Skip to content

Commit

Permalink
Ensure changsets are wrapped in a list
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardarella committed Aug 7, 2024
1 parent e6fa587 commit 0c9d98c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mix/tasks/lvn.setup.config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ defmodule Mix.Tasks.Lvn.Setup.Config do
@doc false
def run_changesets(context, changesets) do
changesets
|> List.wrap()
|> Enum.map(&(&1.(context)))
|> List.flatten()
|> Enum.group_by(
Expand Down

0 comments on commit 0c9d98c

Please sign in to comment.