From: rinpatch Date: Wed, 19 Jun 2019 23:20:20 +0000 (+0300) Subject: Release Tasks: Ensure the application is loaded before getting the X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f8c64dd4c0efec2a66d1082339ea850669662822;p=akkoma Release Tasks: Ensure the application is loaded before getting the modules Needed for non-rpc tasks to work --- diff --git a/lib/pleroma/release_tasks.ex b/lib/pleroma/release_tasks.ex index eb6eff61c..d6720cd05 100644 --- a/lib/pleroma/release_tasks.ex +++ b/lib/pleroma/release_tasks.ex @@ -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 =