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
1 changed files with 1 additions and 1 deletions

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;")