Skip to content

Commit

Permalink
Ignore binwrite error response handling warning
Browse files Browse the repository at this point in the history
IO's module `binwrite/2` function no longer returns an error touple when
failing. Instead, it raises an Erlang error. This commit makes dialyzer
ignore that warning so it behaves appropriately in newer and older
versions.

[skip changeset]
  • Loading branch information
luismiramirez committed Jun 21, 2024
1 parent fac83f3 commit 67d79f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dialyzer.ignore-warnings
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ lib/appsignal/json.ex:31: Unknown function 'Elixir.Jason':encode/1
lib/appsignal/json.ex:32: Unknown function 'Elixir.Jason':'encode!'/1
lib/appsignal/json.ex:33: Unknown function 'Elixir.Jason':decode/1
lib/appsignal/json.ex:34: Unknown function 'Elixir.Jason':'decode!'/1
lib/mix/tasks/appsignal.install.ex:175: The pattern {'error', _reason@1} can never match the type 'ok'
lib/mix/tasks/appsignal.install.ex:175: The pattern {'error', _reason@1} can never match the type 'ok'
lib/mix/tasks/appsignal.install.ex:190

0 comments on commit 67d79f3

Please sign in to comment.