Skip to content

Commit

Permalink
Merge pull request #78 from friendlycart/lint-fix
Browse files Browse the repository at this point in the history
Lint: Fix standardrb error
  • Loading branch information
mamhoff authored Nov 7, 2023
2 parents 0c4fbb6 + be3c282 commit 80b29e6
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 80b29e6

Please sign in to comment.