Skip to content

Commit

Permalink
Fix dialyzer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Jun 27, 2024
1 parent e807cc9 commit 4b03059
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ defmodule Electric.Replication.PostgresConnectorMng do
#
# As explained in https://github.com/erlang/otp/issues/8604, the function spec of
# `:public_key.cacerts_load()` is incorrect.
@dialyzer {:nowarn_function, load_cacerts: 0}
#
# ssl_verify_opts also needs to have its warnings ignored due to the hacky nature of below
# code.
@dialyzer {:nowarn_function, load_cacerts: 0, ssl_verify_opts: 0}

defp load_cacerts, do: :error

Expand Down

0 comments on commit 4b03059

Please sign in to comment.