Skip to content

Commit 510b91e

Browse files
committed
[rb] Adding a new exception in Rubocop
1 parent e6dd0b4 commit 510b91e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rb/.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Naming/MethodParameterName:
9696
Naming/PredicateMethod:
9797
Exclude:
9898
- 'lib/selenium/webdriver/common/file_reaper.rb'
99+
- 'lib/selenium/webdriver/common/socket_poller.rb'
99100

100101
RSpec/AnyInstance:
101102
Enabled: false

rb/lib/selenium/webdriver/common/socket_poller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def conn_completed?(sock)
106106
sock.getsockopt(Socket::SOL_SOCKET, Socket::SO_ERROR).int.zero?
107107
end
108108

109-
def with_timeout?
109+
def with_timeout
110110
max_time = current_time + @timeout
111111

112112
until current_time > max_time

0 commit comments

Comments
 (0)