diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-08 17:40:40 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-08 17:40:40 +0300 |
commit | d7ec0898e5aa7acae463760fd85d1ebf8307b4f9 (patch) | |
tree | 35a30d91ca93ce74909b707f8b5a38e166c2d94b /lib/mix/tasks/pleroma/relay.ex | |
parent | 4b98a7ce4ef4b4e7b74f533e6d6ed343e1b34c48 (diff) | |
download | pleroma-d7ec0898e5aa7acae463760fd85d1ebf8307b4f9.tar.gz |
Make mix tasks work in a release
Diffstat (limited to 'lib/mix/tasks/pleroma/relay.ex')
-rw-r--r-- | lib/mix/tasks/pleroma/relay.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/relay.ex b/lib/mix/tasks/pleroma/relay.ex index fbec473c5..213ae24d2 100644 --- a/lib/mix/tasks/pleroma/relay.ex +++ b/lib/mix/tasks/pleroma/relay.ex @@ -30,7 +30,7 @@ defmodule Mix.Tasks.Pleroma.Relay do # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500) else - {:error, e} -> Mix.shell().error("Error while following #{target}: #{inspect(e)}") + {:error, e} -> Common.shell_error("Error while following #{target}: #{inspect(e)}") end end @@ -41,7 +41,7 @@ defmodule Mix.Tasks.Pleroma.Relay do # put this task to sleep to allow the genserver to push out the messages :timer.sleep(500) else - {:error, e} -> Mix.shell().error("Error while following #{target}: #{inspect(e)}") + {:error, e} -> Common.shell_error("Error while following #{target}: #{inspect(e)}") end end end |