diff options
author | rinpatch <rinpatch@sdf.org> | 2020-12-12 20:35:38 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-12-12 20:35:38 +0300 |
commit | 6aece536eb394fd82e1368e7ae3e484959d05d8c (patch) | |
tree | 8706735d2f5c7958e43a51b8bf5d41f4d30eb68b | |
parent | f2bf2131b4721eb579d248bfc4913a80801efcb7 (diff) | |
download | pleroma-6aece536eb394fd82e1368e7ae3e484959d05d8c.tar.gz |
instance.gen task: Only show files which will be actually overwritten
-rw-r--r-- | lib/mix/tasks/pleroma/instance.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex index ac8688424..a4f1c81bc 100644 --- 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 |