Commit f8c64dd4 authored by rinpatch's avatar rinpatch

Release Tasks: Ensure the application is loaded before getting the

modules

Needed for non-rpc tasks to work
parent 8c7a3820
......@@ -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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment