mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: fix dialyzer
This commit is contained in:
parent
03e5ae4a7a
commit
e6010816c3
1 changed files with 1 additions and 5 deletions
|
@ -130,11 +130,7 @@ defmodule Ash.Resource.Transformers.SetTypes do
|
|||
Ash.Type.array_constraints(type)
|
||||
),
|
||||
{:ok, item_constraints} <- validate_item_constraints(type, constraints) do
|
||||
if item_constraints do
|
||||
{:ok, Keyword.put(new_constraints, :items, item_constraints)}
|
||||
else
|
||||
{:ok, new_constraints}
|
||||
end
|
||||
{:ok, Keyword.put(new_constraints, :items, item_constraints)}
|
||||
end
|
||||
|
||||
type ->
|
||||
|
|
Loading…
Reference in a new issue