projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2bf213
)
instance.gen task: Only show files which will be actually overwritten
author
rinpatch
<rinpatch@sdf.org>
Sat, 12 Dec 2020 17:35:38 +0000
(20:35 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Sat, 12 Dec 2020 17:35:38 +0000
(20:35 +0300)
lib/mix/tasks/pleroma/instance.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/instance.ex
b/lib/mix/tasks/pleroma/instance.ex
index ac8688424cc84942908b06feb39a5a0141980913..a4f1c81bce8f1c0dae5c015858c52c2f102ca9c5 100644
(file)
--- 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