Skip to content

Commit

Permalink
improvement: detect 1 arg repo use in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 4, 2024
1 parent 714dbf8 commit 5839216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/igniter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ defmodule AshPostgres.Igniter do
end

defp move_to_repo_use(zipper) do
Igniter.Code.Function.move_to_function_call(zipper, :use, 2, fn zipper ->
Igniter.Code.Function.move_to_function_call(zipper, :use, [1, 2], fn zipper ->
Igniter.Code.Function.argument_equals?(
zipper,
0,
Expand Down

0 comments on commit 5839216

Please sign in to comment.