Ensure scary warning starts on a new line
This commit is contained in:
parent
570a923a3b
commit
d0cb73527f
@ -138,7 +138,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||||||
|> Enum.sort()
|
|> Enum.sort()
|
||||||
|> Enum.each(&dump(&1))
|
|> Enum.each(&dump(&1))
|
||||||
|
|
||||||
shell_error("THIS CANNOT BE UNDONE!")
|
shell_error("\nTHIS CANNOT BE UNDONE!")
|
||||||
|
|
||||||
if shell_prompt("Are you sure you want to continue?", "n") in ~w(Yn Y y) do
|
if shell_prompt("Are you sure you want to continue?", "n") in ~w(Yn Y y) do
|
||||||
Ecto.Adapters.SQL.query!(Repo, "TRUNCATE config;")
|
Ecto.Adapters.SQL.query!(Repo, "TRUNCATE config;")
|
||||||
|
Loading…
Reference in New Issue
Block a user