mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 11:45:01 +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
1 changed files with 1 additions and 0 deletions
|
@ -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