Ensure scary warning starts on a new line

This commit is contained in:
Mark Felder 2020-11-28 12:05:01 -06:00
parent 570a923a3b
commit d0cb73527f

View File

@ -138,7 +138,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|> Enum.sort()
|> 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
Ecto.Adapters.SQL.query!(Repo, "TRUNCATE config;")