Commit 5ebee6be authored by Tiago's avatar Tiago
Browse files

linting

parent 4d3dfb61
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for lib/httpx/session.rb: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -355,13 +355,13 @@ module HTTPX
          # making the next loop cheaper (because we're dropping).
          next unless response

          if request.complete!(response)
          next unless request.complete!(response)

          responses[idx] = response
          request.on_response_arrived = nil
          pending -= 1
        end
      end
      end

      raise Error, "something went wrong, #{pending} responses not found " \
                   "and requests not resent" unless pending.zero?