Skip to content

Commit

Permalink
:erl_tar.extract expects {:binary, contents} (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Nov 14, 2022
1 parent af33d9a commit d278553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir_make/artefact.ex
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ defmodule ElixirMake.Artefact do

case checksum(basename, contents) do
%Artefact{checksum: ^checksum, checksum_algo: ^algo} ->
case :erl_tar.extract(contents, [:compressed, {:cwd, app_priv}]) do
case :erl_tar.extract({:binary, contents}, [:compressed, {:cwd, app_priv}]) do
:ok ->
:ok

Expand Down

0 comments on commit d278553

Please sign in to comment.