Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
Lint: Fix standardrb error
Browse files Browse the repository at this point in the history
StandardRb has added a new Cop.
  • Loading branch information
mamhoff committed Nov 7, 2023
1 parent 0c4fbb6 commit be3c282
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def unique_per_promotion
end

def eligibility_error_message(key, options = {})
I18n.t(key, **{scope: [:solidus_friendly_promotions, :eligibility_errors, self.class.name.underscore]}.merge(options))
I18n.t(key, scope: [:solidus_friendly_promotions, :eligibility_errors, self.class.name.underscore], **options)
end
end
end

0 comments on commit be3c282

Please sign in to comment.