From d30951b64d0275b453b8ecf2fc442f4b678ade1c Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Thu, 30 May 2024 14:24:51 +0500 Subject: [PATCH] 12398: fix lint issues --- app/controllers/admin/products_v3_controller.rb | 2 ++ app/reflexes/products_reflex.rb | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/products_v3_controller.rb b/app/controllers/admin/products_v3_controller.rb index 7ac886444b..eb975424ef 100644 --- a/app/controllers/admin/products_v3_controller.rb +++ b/app/controllers/admin/products_v3_controller.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +# rubocop:disable Metrics/ClassLength module Admin class ProductsV3Controller < Spree::Admin::BaseController helper ProductsHelper @@ -183,3 +184,4 @@ module Admin end end end +# rubocop:enable Metrics/ClassLength diff --git a/app/reflexes/products_reflex.rb b/app/reflexes/products_reflex.rb index 7d107af4a4..a2feef4d28 100644 --- a/app/reflexes/products_reflex.rb +++ b/app/reflexes/products_reflex.rb @@ -174,5 +174,4 @@ class ProductsReflex < ApplicationReflex params.permit(products: ::PermittedAttributes::Product.attributes) .to_h.with_indifferent_access end - end