chore: get build passing

This commit is contained in:
Zach Daniel 2024-07-11 13:43:39 -04:00
parent 00161f7b0e
commit 772a916684
2 changed files with 9 additions and 8 deletions

View file

@ -82,9 +82,10 @@ defmodule Igniter.Util.Install do
url = ~c"https://hex.pm/api/packages/#{package}"
case :httpc.request(:get, {url, [{~c"User-Agent", ~c"igniter-installer"}]}, [], []) do
{:ok, {{_version, _, _reasonPhrase}, _headers, body}} ->
{:ok, {{_version, _, _reason_phrase}, _headers, body}} ->
case Jason.decode(body) do
{:ok, %{
{:ok,
%{
"releases" => [
%{"version" => version}
| _

View file

@ -33,7 +33,7 @@ defmodule Igniter.MixProject do
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :public_key, :ssl]
extra_applications: [:logger, :public_key, :ssl, :inets]
]
end