projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7a382
)
Release Tasks: Ensure the application is loaded before getting the
author
rinpatch
<rinpatch@sdf.org>
Wed, 19 Jun 2019 23:20:20 +0000
(
02:20
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 19 Jun 2019 23:21:48 +0000
(
02:21
+0300)
modules
Needed for non-rpc tasks to work
lib/pleroma/release_tasks.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/release_tasks.ex
b/lib/pleroma/release_tasks.ex
index eb6eff61c2e3d1bce090b505d33c6ab0d6651e61..d6720cd0580dc5d2bcb1f3ccf6183e0de60b597a 100644
(file)
--- 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 =