1
0
Fork 0
forked from mirrors/akkoma

docs/markdown.ex: do no print empty suggestions

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-09-17 22:00:02 +02:00
parent 50ec445b2c
commit e0d8c8897e
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -66,6 +66,8 @@ defp print_suggestion(file, suggestion, as_list \\ false) do
defp print_suggestions(_file, nil), do: nil
defp print_suggestions(_file, ""), do: nil
defp print_suggestions(file, suggestions) do
IO.write(file, "Suggestions:\n")