[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
@@ -32,7 +32,7 @@ defmodule Pinchflat.Metadata.MetadataFileHelpersTest do
metadata_map = %{"foo" => "bar"}
filepath = Helpers.compress_and_store_metadata_for(media_item, metadata_map)
{:ok, json} = File.open(filepath, [:read, :compressed], &IO.read(&1, :all))
{:ok, json} = File.open(filepath, [:read, :compressed], &IO.read(&1, :eof))
assert json == Phoenix.json_library().encode!(metadata_map)
end