Skip to content

Commit

Permalink
Merge pull request #3121 from projectblacklight/rubocop-update
Browse files Browse the repository at this point in the history
Add rubocop exceptions for new rubocop rule
  • Loading branch information
aaron-collier authored Jan 17, 2024
2 parents 9305415 + 23cf511 commit 8eb4d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/blacklight.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8eb4d3a

Please sign in to comment.