diff --git a/lib/mix/tasks/licenses.ex b/lib/mix/tasks/licenses.ex index 782642d..91083f3 100644 --- a/lib/mix/tasks/licenses.ex +++ b/lib/mix/tasks/licenses.ex @@ -18,7 +18,7 @@ defmodule Mix.Tasks.Licenses do licenses = Licensir.Scanner.scan() Enum.each(licenses, fn(license) -> - license.name <> " " <> license.version + license.name <> " " <> (license.version || "") |> String.pad_trailing(@name_width) |> Kernel.<>("-> " <> license.license) |> IO.puts() diff --git a/mix.exs b/mix.exs index 0ceeff2..3dbf466 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Licensir.Mixfile do def project do [ app: :licensir, - version: "0.2.3", + version: "0.2.4", elixir: "~> 1.5", escript: [main_module: Licensir.Licenses], deps: deps(),