Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Aug 30, 2024
1 parent cda9101 commit bddcd06
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/spark/options/options.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,8 @@ defmodule Spark.Options do
error_tuple(key, value, "expected tagged tuple in #{render_key(key)}, got: #{inspect(value)}")
end

defp validate_type({:spark_behaviour, _module}, _key, value) when is_atom(value) and not is_boolean(value) do
defp validate_type({:spark_behaviour, _module}, _key, value)
when is_atom(value) and not is_boolean(value) do
{:ok, {value, []}}
end

Expand All @@ -1178,7 +1179,8 @@ defmodule Spark.Options do
)
end

defp validate_type({:spark_behaviour, _module, _}, _key, value) when is_atom(value) and not is_boolean(value) do
defp validate_type({:spark_behaviour, _module, _}, _key, value)
when is_atom(value) and not is_boolean(value) do
{:ok, {value, []}}
end

Expand Down

0 comments on commit bddcd06

Please sign in to comment.