chore: RuboCop Style/SemiColon

This commit is contained in:
Olle Jonsson 2019-03-02 11:40:12 +01:00
parent 4d97cc13ac
commit c8bee3ed22
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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