Skip to content

Commit

Permalink
Fix Elixir 1.17 warning about function call without parens (beam-comm…
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki authored and tarzan committed Oct 15, 2024
1 parent 7e20d19 commit 3112d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bamboo/mailer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ defmodule Bamboo.Mailer do

defp validate_attachment_support(_email, adapter) do
if Code.ensure_loaded?(adapter) && function_exported?(adapter, :supports_attachments?, 0) &&
adapter.supports_attachments? do
adapter.supports_attachments?() do
:ok
else
{:error, "the #{adapter} does not support attachments yet."}
Expand Down

0 comments on commit 3112d21

Please sign in to comment.