Skip to content

Commit

Permalink
Merge 2ab75e4 into 87e655f
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Apr 2, 2024
2 parents 87e655f + 2ab75e4 commit cccb7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/options/env.rb
Expand Up @@ -169,7 +169,7 @@ def stream_response?
def stream_response(&block)
size = 0
yielded = false
block_result = block.call do |chunk| # rubocop:disable Performance/RedundantBlockCall
block_result = block.call do |chunk|
if chunk.bytesize.positive? || size.positive?
yielded = true
size += chunk.bytesize
Expand Down

0 comments on commit cccb7f7

Please sign in to comment.