mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: credo
This commit is contained in:
parent
56a96f04ed
commit
7da453409c
1 changed files with 4 additions and 3 deletions
|
@ -1431,9 +1431,10 @@ defmodule Ash.Changeset do
|
|||
changeset.context
|
||||
)
|
||||
|
||||
with {:ok, opts} <- module.init(opts) do
|
||||
case module.init(opts) do
|
||||
{:ok, opts} ->
|
||||
module.validate(changeset, opts) == :ok
|
||||
else
|
||||
|
||||
_ ->
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue