Merge pull request #12541 from openfoodfoundation/dependabot/bundler/rubocop-1.64.1

chore(deps-dev): bump rubocop from 1.63.5 to 1.64.1
This commit is contained in:
Gaetan Craig-Riou
2024-06-11 10:30:28 +10:00
committed by GitHub
13 changed files with 17 additions and 17 deletions

View File

@@ -2,6 +2,6 @@
class HelpModalComponent < ModalComponent
def initialize(id:, close_button: true)
super(id:, close_button:)
super
end
end

View File

@@ -146,7 +146,7 @@ module Admin
return nil if parent_data.blank?
@parent ||= parent_data[:model_class].
public_send("find_by", parent_data[:find_by] => params["#{model_name}_id"])
find_by(parent_data[:find_by] => params["#{model_name}_id"])
instance_variable_set("@#{model_name}", @parent)
end

View File

@@ -60,7 +60,7 @@ class ApplicationController < ActionController::Base
rescue StandardError
'unknown'
end}")
super(options, response_status)
super
end
def set_checkout_redirect

View File

@@ -8,6 +8,6 @@ class BulkFormBuilder < ActionView::Helpers::FormBuilder
opts[:class] = "#{opts[:class]} changed".strip
end
super(field, **opts)
super
end
end

View File

@@ -22,7 +22,7 @@ module FilePreferences
if has_preference?("#{key}_blob_id")
:file
else
super(key)
super
end
end