Skip to content

Commit 7c1b450

Browse files
committed
[rb] fix another bad rubocop autocorrection
1 parent fb062a5 commit 7c1b450

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rb/lib/selenium/webdriver/bidi/log_inspector.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def on_console_entry(...)
5555

5656
on_log do |params|
5757
type = params['type']
58-
console_log_events(params, filter_by, ...) if type.eql?('console')
58+
console_log_events(params, ...) if type.eql?('console')
5959
end
6060
end
6161

@@ -64,14 +64,14 @@ def on_javascript_log(...)
6464

6565
on_log do |params|
6666
type = params['type']
67-
javascript_log_events(params, filter_by, ...) if type.eql?('javascript')
67+
javascript_log_events(params, ...) if type.eql?('javascript')
6868
end
6969
end
7070

7171
def on_javascript_exception(...)
7272
on_log do |params|
7373
type = params['type']
74-
javascript_log_events(params, ...) if type.eql?('javascript')
74+
javascript_log_events(params, FilterBy.log_level('error'), ...) if type.eql?('javascript')
7575
end
7676
end
7777

0 commit comments

Comments
 (0)