mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: fix credo
This commit is contained in:
parent
fbd2b2f50c
commit
c83316e88b
1 changed files with 3 additions and 3 deletions
|
@ -180,7 +180,9 @@ defmodule Ash.Flow do
|
||||||
|
|
||||||
case value do
|
case value do
|
||||||
:error ->
|
:error ->
|
||||||
if not is_nil(arg.default) do
|
if is_nil(arg.default) do
|
||||||
|
{:cont, {:ok, acc}}
|
||||||
|
else
|
||||||
value =
|
value =
|
||||||
case arg.default do
|
case arg.default do
|
||||||
{m, f, a} ->
|
{m, f, a} ->
|
||||||
|
@ -194,8 +196,6 @@ defmodule Ash.Flow do
|
||||||
end
|
end
|
||||||
|
|
||||||
{:cont, {:ok, Map.put(acc, arg.name, value)}}
|
{:cont, {:ok, Map.put(acc, arg.name, value)}}
|
||||||
else
|
|
||||||
{:cont, {:ok, acc}}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
{:ok, value} ->
|
{:ok, value} ->
|
||||||
|
|
Loading…
Reference in a new issue