Skip to content

Commit

Permalink
Lint: auto-correct Style/RedundantLineContinuation
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Oct 22, 2024
1 parent bf68f9e commit 9d7b9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/adapter/httpclient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def call(env)
rescue Errno::EADDRNOTAVAIL, Errno::ECONNREFUSED, IOError, SocketError
raise Faraday::ConnectionFailed, $ERROR_INFO
rescue StandardError => e
if defined?(::OpenSSL::SSL::SSLError) && \
if defined?(::OpenSSL::SSL::SSLError) &&
e.is_a?(::OpenSSL::SSL::SSLError)
raise Faraday::SSLError, e
end
Expand Down

0 comments on commit 9d7b9f4

Please sign in to comment.