little fix

This commit is contained in:
Alex S 2019-09-03 12:31:43 +03:00
parent 6b0e8b73df
commit 57dc59d98d

View file

@ -35,6 +35,8 @@ defp do_run(implementation) do
descriptions[:pleroma][:config_description]
)
Mix.shell().info([:green, "Markdown docs successfully generated to #{file_path}."])
type = if implementation == Pleroma.Docs.Markdown, do: "Markdown", else: "JSON"
Mix.shell().info([:green, "#{type} docs successfully generated to #{file_path}."])
end
end