docs/markdown.ex: do no print empty suggestions
This commit is contained in:
parent
50ec445b2c
commit
e0d8c8897e
|
@ -66,6 +66,8 @@ defp print_suggestion(file, suggestion, as_list \\ false) do
|
||||||
|
|
||||||
defp print_suggestions(_file, nil), do: nil
|
defp print_suggestions(_file, nil), do: nil
|
||||||
|
|
||||||
|
defp print_suggestions(_file, ""), do: nil
|
||||||
|
|
||||||
defp print_suggestions(file, suggestions) do
|
defp print_suggestions(file, suggestions) do
|
||||||
IO.write(file, "Suggestions:\n")
|
IO.write(file, "Suggestions:\n")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue