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

Commit

Permalink
support locally cloned deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Feb 19, 2021
1 parent d539d96 commit af37a62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/licensir/scanner.ex
Expand Up @@ -80,6 +80,7 @@ defmodule Licensir.Scanner do
defp get_link(opts) when is_list(opts), do: get_link(Enum.into(opts, %{}))
defp get_link(%{git: url}), do: url
defp get_link(%{hex: hex}), do: "https://hex.pm/packages/#{hex}"
defp get_link(%{lock: {:git, url, _, _}}), do: url
defp get_link(_), do: nil

#
Expand Down

0 comments on commit af37a62

Please sign in to comment.