Skip to content

Commit

Permalink
Rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehodgkiss committed Oct 24, 2024
1 parent f7ed7e7 commit d7b0324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/phoenix_ecto/check_repo_status.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ defmodule Phoenix.Ecto.CheckRepoStatus do
true = is_function(migrations_fun, 3)

Enum.all?(dirs_with_migration_opts, fn {dirs, migration_opts} ->
check_pending_migrations_in_dir!(repo, dirs, migration_opts, migrations_fun)
check_pending_migrations_in_dirs!(repo, dirs, migration_opts, migrations_fun)
end)
end

defp check_pending_migrations_in_dir!(repo, dirs, migration_opts, migrations_fun) do
defp check_pending_migrations_in_dirs!(repo, dirs, migration_opts, migrations_fun) do
try do
repo
|> migrations_fun.(dirs, migration_opts)
Expand Down

0 comments on commit d7b0324

Please sign in to comment.