From 1691937c4c7c9de54b9898f77fdeac167633e90f Mon Sep 17 00:00:00 2001 From: Philip Brown Date: Fri, 28 Jun 2024 16:38:54 +0100 Subject: [PATCH] Re-add missing directories attribute (#177) The `directories` attribute was recently removed from `Phoenix.Ecto.PendingMigrationError` but it shouldn't of been. This adds it back in. --- lib/phoenix_ecto/check_repo_status.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phoenix_ecto/check_repo_status.ex b/lib/phoenix_ecto/check_repo_status.ex index c98481f..32e93c2 100644 --- a/lib/phoenix_ecto/check_repo_status.ex +++ b/lib/phoenix_ecto/check_repo_status.ex @@ -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