Fix credo warning
This commit is contained in:
parent
48ae3c4347
commit
1216b546c6
@ -68,7 +68,7 @@ def start(_type, _args) do
|
|||||||
Supervisor.start_link(children, opts)
|
Supervisor.start_link(children, opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_custom_modules() do
|
def load_custom_modules do
|
||||||
dir = Pleroma.Config.get([:instance, :custom_modules_dir])
|
dir = Pleroma.Config.get([:instance, :custom_modules_dir])
|
||||||
|
|
||||||
if dir && File.exists?(dir) do
|
if dir && File.exists?(dir) do
|
||||||
|
Loading…
Reference in New Issue
Block a user