Skip to content

Commit

Permalink
remove IO.inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jul 31, 2024
1 parent 266958d commit ea7abca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/mix/tasks/gen/ash.gen.resource.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,13 @@ defmodule Mix.Tasks.Ash.Gen.Resource do

options =
options
|> IO.inspect(label: "before")
|> Ash.Igniter.csv_option(:default_actions, fn values ->
Enum.sort_by(values, &(&1 in ["create", "update"]))
end)
|> Ash.Igniter.csv_option(:attribute)
|> Ash.Igniter.csv_option(:relationship)
|> Ash.Igniter.csv_option(:extend)
|> Keyword.put_new(:base, "Ash.Resource")
|> IO.inspect()

base =
if options[:base] == "Ash.Resource" do
Expand Down

0 comments on commit ea7abca

Please sign in to comment.