summaryrefslogtreecommitdiff
path: root/lib/mix/pleroma.ex
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-11-27 13:42:28 -0600
committerMark Felder <feld@FreeBSD.org>2020-12-04 11:49:56 -0600
commit50aadc3d5cc35e5210cb12c4858ecfdba4df56b1 (patch)
tree4bbfc311d6607d0d6121b27400e9bc936f7d0633 /lib/mix/pleroma.ex
parent6adad96c79fdcaf56c2f42cba248612a29ebb1ff (diff)
downloadpleroma-50aadc3d5cc35e5210cb12c4858ecfdba4df56b1.tar.gz
pleroma-50aadc3d5cc35e5210cb12c4858ecfdba4df56b1.zip
shell_yes?/1 was not showing the correct message and always defaults to yes which is dangerous
Diffstat (limited to 'lib/mix/pleroma.ex')
-rw-r--r--lib/mix/pleroma.ex6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/mix/pleroma.ex b/lib/mix/pleroma.ex
index cd3f44074..7575f0ef8 100644
--- a/lib/mix/pleroma.ex
+++ b/lib/mix/pleroma.ex
@@ -98,12 +98,6 @@ defmodule Mix.Pleroma do
end
end
- def shell_yes?(message) do
- if mix_shell?(),
- do: Mix.shell().yes?("Continue?"),
- else: shell_prompt(message, "Continue?") in ~w(Yn Y y)
- end
-
def shell_info(message) do
if mix_shell?(),
do: Mix.shell().info(message),