~cosmicrose/hex_licenses

f5594ed33b13bd236c1b76f492058e5df08aa35d — Rosa Richter 4 months ago f0e403f
Add missing status_line case

Fixes #3
1 files changed, 6 insertions(+), 2 deletions(-)

M lib/mix/tasks/licenses/explain.ex
M lib/mix/tasks/licenses/explain.ex => lib/mix/tasks/licenses/explain.ex +6 -2
@@ 71,11 71,15 @@ defmodule Mix.Tasks.Licenses.Explain do
    end
  end

  def status_line(license, :not_approved) do
  defp status_line(license, :not_approved) do
    " - \"#{license}\" is not OSI-approved."
  end

  def status_line(license, :not_recognized) do
  defp status_line(license, :not_recognized) do
    " - \"#{license}\" is not an SPDX ID."
  end

  defp status_line(license, :deprecated) do
    " - \"#{license}\" is deprecated."
  end
end