diff --git a/tasks/blacklight.rake b/tasks/blacklight.rake index 184226bd07..d2d5c228f7 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) # rubocop:disable Style/ArgumentsForwarding +def with_solr(&block) # 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) # rubocop:disable Style/ArgumentsForwarding end else SolrWrapper.wrap do |solr| - solr.with_collection(&block) # rubocop:disable Style/ArgumentsForwarding + solr.with_collection(&block) end end end