File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
rb/lib/selenium/webdriver Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class BiDi
2323 class Struct < ::Struct
2424 class << self
2525 def new ( *args , &block )
26- super ( * args ) do
26+ super do
2727 define_method ( :initialize ) do |**kwargs |
2828 converted_kwargs = kwargs . transform_keys { |key | self . class . camel_to_snake ( key . to_s ) . to_sym }
2929 super ( *converted_kwargs . values_at ( *self . class . members ) )
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ def create_logger(name, level:)
194194 def discard_or_log ( level , message , id )
195195 id = Array ( id )
196196 return if @ignored . intersect? ( id )
197- return if @allowed . any? && ( @allowed & id ) . none?
197+ return if @allowed . any? && ! @allowed . intersect? ( id )
198198
199199 return if ::Logger ::Severity . const_get ( level . upcase ) < @logger . level
200200
You can’t perform that action at this time.
0 commit comments