Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rubocop exceptions for new rubocop rule #3121

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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