mirror of
https://github.com/lostisland/faraday.git
synced 2025-08-29 00:03:58 -04:00
chore: RuboCop Style/SemiColon
This commit is contained in:
parent
4d97cc13ac
commit
c8bee3ed22
@ -235,8 +235,14 @@ module Faraday
|
||||
|
||||
def perform_request
|
||||
client = yield
|
||||
client.callback { @num_succeeded += 1; check_finished }
|
||||
client.errback { @errors << client.error; check_finished }
|
||||
client.callback do
|
||||
@num_succeeded += 1
|
||||
check_finished
|
||||
end
|
||||
client.errback do
|
||||
@errors << client.error
|
||||
check_finished
|
||||
end
|
||||
end
|
||||
|
||||
def check_finished
|
||||
|
@ -10,11 +10,11 @@ RSpec.describe Faraday::RackBuilder do
|
||||
end
|
||||
end
|
||||
|
||||
class Apple < Handler;
|
||||
class Apple < Handler
|
||||
end
|
||||
class Orange < Handler;
|
||||
class Orange < Handler
|
||||
end
|
||||
class Banana < Handler;
|
||||
class Banana < Handler
|
||||
end
|
||||
|
||||
class Broken < Faraday::Middleware
|
||||
|
Loading…
x
Reference in New Issue
Block a user