From: Alex S Date: Tue, 3 Sep 2019 09:31:43 +0000 (+0300) Subject: little fix X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=57dc59d98d0ae5b4315bbc5c8a9c7ca59f6341f9;p=akkoma little fix --- diff --git a/lib/mix/tasks/pleroma/docs.ex b/lib/mix/tasks/pleroma/docs.ex index fb8a2a014..4be53ce75 100644 --- a/lib/mix/tasks/pleroma/docs.ex +++ b/lib/mix/tasks/pleroma/docs.ex @@ -35,6 +35,8 @@ defmodule Mix.Tasks.Pleroma.Docs 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