From be3c28250da9b5dfee69d7a3d90f07c6090f3f54 Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Tue, 7 Nov 2023 18:46:25 +0100 Subject: [PATCH] Lint: Fix standardrb error StandardRb has added a new Cop. --- .../app/models/solidus_friendly_promotions/promotion_rule.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promotions/app/models/solidus_friendly_promotions/promotion_rule.rb b/promotions/app/models/solidus_friendly_promotions/promotion_rule.rb index d31c60cf..f80c1148 100644 --- a/promotions/app/models/solidus_friendly_promotions/promotion_rule.rb +++ b/promotions/app/models/solidus_friendly_promotions/promotion_rule.rb @@ -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