Skip to content

Commit

Permalink
[rb] fix another bad rubocop autocorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 26, 2024
1 parent fb062a5 commit 7c1b450
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rb/lib/selenium/webdriver/bidi/log_inspector.rb
Expand Up @@ -55,7 +55,7 @@ def on_console_entry(...)

on_log do |params|
type = params['type']
console_log_events(params, filter_by, ...) if type.eql?('console')
console_log_events(params, ...) if type.eql?('console')
end
end

Expand All @@ -64,14 +64,14 @@ def on_javascript_log(...)

on_log do |params|
type = params['type']
javascript_log_events(params, filter_by, ...) if type.eql?('javascript')
javascript_log_events(params, ...) if type.eql?('javascript')
end
end

def on_javascript_exception(...)
on_log do |params|
type = params['type']
javascript_log_events(params, ...) if type.eql?('javascript')
javascript_log_events(params, FilterBy.log_level('error'), ...) if type.eql?('javascript')
end
end

Expand Down

0 comments on commit 7c1b450

Please sign in to comment.