From 7c1b450a2542a18f880650a061c2b8c8538e0a58 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Fri, 26 Jan 2024 14:11:09 -0600 Subject: [PATCH] [rb] fix another bad rubocop autocorrection --- rb/lib/selenium/webdriver/bidi/log_inspector.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rb/lib/selenium/webdriver/bidi/log_inspector.rb b/rb/lib/selenium/webdriver/bidi/log_inspector.rb index 1613e027ef774..72e1cf5a0be1d 100644 --- a/rb/lib/selenium/webdriver/bidi/log_inspector.rb +++ b/rb/lib/selenium/webdriver/bidi/log_inspector.rb @@ -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 @@ -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