[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 authored and GitHub committed 2024-06-13 10:05:03 -07:00
1 parent 9daef8b3b8
commit 132f8e8da6
6 files changed
+11 -11

No files matched your search

@@ -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