Skip to content

Commit

Permalink
chore: remove is_list check for expr
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 27, 2024
1 parent 8466b9c commit ae841a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spark/options/options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ defmodule Spark.Options do
end

defp validate_type({:spark_behaviour, _module, _}, _key, {module, opts})
when is_atom(module) and is_list(opts) and not is_boolean(module) do
when is_atom(module) and not is_boolean(module) do
{:ok, {module, opts}}
end

Expand Down

0 comments on commit ae841a4

Please sign in to comment.