Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 31, 2024
1 parent 1a39993 commit 674c7d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ash/changeset/changeset.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,8 @@ defmodule Ash.Changeset do
# Later before starting the transaction we do the same but only checking
# the actual hooks
prefer_transaction? =
if !(changeset.action && changeset.action.manual) && Enum.empty?(changeset.before_transaction) && Enum.empty?(changeset.around_transaction) &&
if !(changeset.action && changeset.action.manual) &&
Enum.empty?(changeset.before_transaction) && Enum.empty?(changeset.around_transaction) &&
Enum.empty?(changeset.before_action) && Enum.empty?(changeset.after_action) &&
Enum.empty?(changeset.around_action) do
data_layer_prefers_transaction?
Expand Down

0 comments on commit 674c7d6

Please sign in to comment.