[Dev] Upgrade to Elixir 1.17.0 (#289)

* upgraded to Elixir 1.17.0

* Addressed deprecation warnings

* Updated Credo
This commit is contained in:
Kieran
2024-06-13 10:05:03 -07:00
committed by GitHub
parent 9daef8b3b8
commit 132f8e8da6
6 changed files with 11 additions and 11 deletions
@@ -49,7 +49,7 @@ defmodule Pinchflat.Metadata.MetadataFileHelpers do
Returns {:ok, map()} | {:error, any}
"""
def read_compressed_metadata(filepath) do
{:ok, json} = File.open(filepath, [:read, :compressed], &IO.read(&1, :all))
{:ok, json} = File.open(filepath, [:read, :compressed], &IO.read(&1, :eof))
Phoenix.json_library().decode(json)
end