mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 21:13:10 +12:00
chore: update deprecated call
This commit is contained in:
parent
53ada30be7
commit
3bc730bfcf
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ defmodule Mix.Tasks.Ash.Patch.Extend do
|
|||
|
||||
defp remove_domain_option(igniter, module) do
|
||||
Igniter.Code.Module.find_and_update_module!(igniter, module, fn zipper ->
|
||||
with {:ok, zipper} <- Igniter.Code.Module.move_to_use(zipper, Ash.Resource),
|
||||
with {:ok, zipper} <- Igniter.Code.Module.move_to_using(zipper, Ash.Resource),
|
||||
{:ok, zipper} <-
|
||||
Igniter.Code.Function.update_nth_argument(zipper, 1, fn values_zipper ->
|
||||
Igniter.Code.Keyword.remove_keyword_key(values_zipper, :domain)
|
||||
|
|
Loading…
Reference in a new issue