Skip to content

Commit

Permalink
Merge pull request #3137 from projectblacklight/fix-rubocop
Browse files Browse the repository at this point in the history
Fix rubocop errors
  • Loading branch information
marlo-longley authored Jan 25, 2024
2 parents 4983983 + 247b903 commit bc0a691
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) # 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

0 comments on commit bc0a691

Please sign in to comment.