mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 09:44:52 +00:00
docs/markdown.ex: do no print empty suggestions
This commit is contained in:
parent
50ec445b2c
commit
e0d8c8897e
|
@ -66,6 +66,8 @@ defmodule Pleroma.Docs.Markdown 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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue