Release Tasks: Ensure the application is loaded before getting the
modules Needed for non-rpc tasks to work
This commit is contained in:
parent
8c7a382027
commit
f8c64dd4c0
|
@ -17,6 +17,7 @@ def run(args) do
|
|||
end
|
||||
|
||||
defp mix_task(task, args) do
|
||||
Application.load(:pleroma)
|
||||
{:ok, modules} = :application.get_key(:pleroma, :modules)
|
||||
|
||||
module =
|
||||
|
|
Loading…
Reference in New Issue