markdown.ex: end suggestions list with a newline

Otherwise we end up with suggestion on the same level as the childs

Markdown is a fuck…
This commit is contained in:
Haelwenn (lanodan) Monnier 2019-09-17 22:55:29 +02:00
parent d2097fd0f5
commit 4785596a2c
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
2 changed files with 4 additions and 1 deletions

View file

@ -79,6 +79,8 @@ defp print_suggestions(file, suggestions) do
for suggestion <- suggestions do
print_suggestion(file, suggestion, true)
end
IO.write(file, "\n")
else
IO.write(file, " Suggestion: ")

View file

@ -174,7 +174,8 @@ defp aliases do
"ecto.rollback": ["pleroma.ecto.rollback"],
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
test: ["ecto.create --quiet", "ecto.migrate", "test"],
docs: ["pleroma.docs", "docs"]
]
end