mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +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
|
||||
|
||||
defp mix_task(task, args) do
|
||||
Application.load(:pleroma)
|
||||
{:ok, modules} = :application.get_key(:pleroma, :modules)
|
||||
|
||||
module =
|
||||
|
|
Loading…
Reference in a new issue