Skip to content

Commit e022c36

Browse files
authored
Fix package link coercion (#124)
The previous implementation failed for atom keys, like: `:GitHub`, `:github`, and `:Changelog`.
1 parent e5263e1 commit e022c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix_dependency_submission/fetcher.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ defmodule MixDependencySubmission.Fetcher do
146146
defp mix_config_source_url(mix_config) do
147147
links =
148148
Map.new(mix_config[:package][:links] || %{}, fn {key, value} ->
149-
{String.downcase(key), value}
149+
{String.downcase(to_string(key)), value}
150150
end)
151151

152152
mix_config[:source_url] ||

0 commit comments

Comments
 (0)