Skip to content

Commit 1aba14e

Browse files
authored
[rb] Remove unnecessary and bug-creating code in platform.rb. (#10973)
successive Rubocop auto-correct executions across Ruby versions broke the original implementation
1 parent 000c2cf commit 1aba14e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

rb/lib/selenium/webdriver/common/platform.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def wsl?
105105

106106
def cygwin?
107107
RUBY_PLATFORM.include?('cygwin')
108-
!Regexp.last_match.nil?
109108
end
110109

111110
def null_device

0 commit comments

Comments
 (0)