Skip to content

Commit

Permalink
fix: go back to generating the repo if its unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 24, 2024
1 parent b7a3be5 commit 6ef66c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mix/tasks/ash_authentication.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ if Code.ensure_loaded?(Igniter) do

def data_layer_args(igniter, opts) do
{igniter, repo} =
AshPostgres.Igniter.select_repo(igniter, yes: opts[:yes])
AshPostgres.Igniter.select_repo(igniter, generate?: true, yes: opts[:yes])

{igniter, ["--repo", inspect(repo)], repo}
end
Expand Down

0 comments on commit 6ef66c9

Please sign in to comment.