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

Fix rubocop errors #3137

Merged
merged 1 commit into from
Jan 25, 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) # 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
Expand All @@ -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
Expand Down
Loading