From 23cf5116dac1d09b36df11f5778d0a6d8011e105 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Wed, 17 Jan 2024 15:55:36 -0600 Subject: [PATCH] Add rubocop exceptions for new rubocop rule --- tasks/blacklight.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/blacklight.rake b/tasks/blacklight.rake index d2d5c228f7..184226bd07 100644 --- a/tasks/blacklight.rake +++ b/tasks/blacklight.rake @@ -20,7 +20,7 @@ def system_with_error_handling(*args) end end -def with_solr(&block) +def with_solr(&block) # rubocop:disable Style/ArgumentsForwarding # We're being invoked by the app entrypoint script and solr is already up via docker-compose if ENV['SOLR_ENV'] == 'docker-compose' yield @@ -36,7 +36,7 @@ def with_solr(&block) end else SolrWrapper.wrap do |solr| - solr.with_collection(&block) + solr.with_collection(&block) # rubocop:disable Style/ArgumentsForwarding end end end