Fix credo warning

This commit is contained in:
Egor Kislitsyn 2019-12-05 20:29:17 +07:00
parent 48ae3c4347
commit 1216b546c6

View file

@ -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