Skip to content

Commit

Permalink
Re-add missing directories attribute (#177)
Browse files Browse the repository at this point in the history
The `directories` attribute was recently removed from
`Phoenix.Ecto.PendingMigrationError` but it shouldn't of been.

This adds it back in.
  • Loading branch information
philipbrown authored Jun 28, 2024
1 parent 4cbbd26 commit 1691937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_ecto/check_repo_status.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Phoenix.Ecto.CheckRepoStatus do
rescue
_ -> false
else
true -> raise Phoenix.Ecto.PendingMigrationError, repo: repo
true -> raise Phoenix.Ecto.PendingMigrationError, repo: repo, directories: dirs
false -> true
end
end
Expand Down

0 comments on commit 1691937

Please sign in to comment.