mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-07-04 21:05:53 +00:00
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 @@ defmodule Pleroma.ReleaseTasks 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 =
|
||||||
|
|
Loading…
Reference in a new issue