Skip to content

Commit

Permalink
Remove unneeded rubocop directive
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Nov 21, 2023
1 parent 874266b commit d3d73c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/dry/transaction/instance_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def method_missing(name, *args, &block)
end

def resolve_operation(step, **operations)
# rubocop:disable Lint/DuplicateBranch
if step.internal? && operations[step.name]
operations[step.name]
elsif methods.include?(step.name) || private_methods.include?(step.name)
Expand All @@ -98,7 +97,6 @@ def resolve_operation(step, **operations)
else
raise MissingStepError, step.name
end
# rubocop:enable Lint/DuplicateBranch
end

def assert_valid_step_args(step_args)
Expand Down

0 comments on commit d3d73c9

Please sign in to comment.