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