Skip to content

Commit

Permalink
chore: format/credo
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Nov 14, 2023
1 parent e66a3ef commit cb87e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
#
{Credo.Check.Refactor.CondStatements, []},
{Credo.Check.Refactor.CyclomaticComplexity, false},
{Credo.Check.Refactor.FunctionArity, [max_arity: 12]},
{Credo.Check.Refactor.FunctionArity, [max_arity: 13]},
{Credo.Check.Refactor.LongQuoteBlocks, false},
{Credo.Check.Refactor.MapInto, false},
{Credo.Check.Refactor.MatchInCondition, []},
Expand Down
2 changes: 1 addition & 1 deletion lib/resource/resource.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3698,7 +3698,7 @@ defmodule AshGraphql.Resource do
field_type(agg_type, attribute, resource)
else
resource =
if field && aggregate.type in [:first, :list] do
if field && aggregate.type in [:first, :list] do
Ash.Resource.Info.related(resource, aggregate.relationship_path)
else
resource
Expand Down

0 comments on commit cb87e6f

Please sign in to comment.