Skip to content

Commit

Permalink
Fix Elixir 1.17 warning about function call without parens (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
michallepicki authored Jun 25, 2024
1 parent 7b5d99d commit 1c1d002
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 1c1d002

Please sign in to comment.