mirror of
https://github.com/ash-project/igniter.git
synced 2024-09-19 21:12:54 +12:00
chore: get build passing
This commit is contained in:
parent
00161f7b0e
commit
772a916684
2 changed files with 9 additions and 8 deletions
|
@ -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}
|
||||
| _
|
||||
|
|
2
mix.exs
2
mix.exs
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue