From 4f248de9a598e1c0089bd8f8a92bb743da8667ea Mon Sep 17 00:00:00 2001 From: Alexander Strizhakov Date: Sun, 16 Aug 2020 17:14:30 +0300 Subject: spec --- lib/mix/pleroma.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex index 0a6752bfb..a3e9e7cf7 100644 --- a/lib/mix/pleroma.ex +++ b/lib/mix/pleroma.ex @@ -17,6 +17,7 @@ defmodule Mix.Pleroma do @cachex_children ["object", "user", "scrubber"] @doc "Common functions to be reused in mix tasks" + @spec start_pleroma([:supervisor.child_spec() | module()]) :: {:ok, pid()} def start_pleroma(additional_childs \\ []) do Pleroma.Config.Holder.save_default() Pleroma.Config.Oban.warn() -- cgit v1.2.3