logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 6aece536eb394fd82e1368e7ae3e484959d05d8c
parent f2bf2131b4721eb579d248bfc4913a80801efcb7
Author: rinpatch <rinpatch@sdf.org>
Date:   Sat, 12 Dec 2020 20:35:38 +0300

instance.gen task: Only show files which will be actually overwritten

Diffstat:

Mlib/mix/tasks/pleroma/instance.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex @@ -253,7 +253,7 @@ defmodule Mix.Tasks.Pleroma.Instance do else shell_error( "The task would have overwritten the following files:\n" <> - (Enum.map(paths, &"- #{&1}\n") |> Enum.join("")) <> + (Enum.map(will_overwrite, &"- #{&1}\n") |> Enum.join("")) <> "Rerun with `--force` to overwrite them." ) end