Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
Fix error when the dependency version could not be found
Browse files Browse the repository at this point in the history
  • Loading branch information
Unnawut Leepaisalsuwanna committed Mar 30, 2018
1 parent 4adb3df commit 7eee1a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/licenses.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 7eee1a3

Please sign in to comment.