Skip to content

Commit

Permalink
improvement: proper reference for section order config in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 13, 2025
1 parent 1adaf1c commit 41d1728
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/mix/tasks/ash_double_entry.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ if Code.ensure_loaded?(Igniter) do
igniter
|> Igniter.compose_task("ash.gen.domain", [inspect(domain), "--ignore-if-exists"])
|> Igniter.Project.Formatter.import_dep(:ash_double_entry)
|> Spark.Igniter.prepend_to_section_order(Ash.Resource, [:account, :balance, :transfer])
|> Spark.Igniter.prepend_to_section_order(:"Ash.Resource", [
:account,
:balance,
:transfer
])
|> Igniter.Project.Config.configure(
"config.exs",
:ash,
Expand Down

0 comments on commit 41d1728

Please sign in to comment.