Release Tasks: Ensure the application is loaded before getting the

modules

Needed for non-rpc tasks to work
This commit is contained in:
rinpatch 2019-06-20 02:20:20 +03:00
parent 8c7a382027
commit f8c64dd4c0
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ def run(args) do
end end
defp mix_task(task, args) do defp mix_task(task, args) do
Application.load(:pleroma)
{:ok, modules} = :application.get_key(:pleroma, :modules) {:ok, modules} = :application.get_key(:pleroma, :modules)
module = module =