Skip to content

Commit cb0d3f3

Browse files
committed
[rb] fix linting in rake file
1 parent 5f5f3b9 commit cb0d3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ namespace :rb do
751751
puts 'Releasing nightly WebDriver gem...'
752752
Bazel.execute('run', ['--config=release'], '//rb:selenium-webdriver-release-nightly')
753753
else
754-
patch_release = ruby_version.split('.').fetch(2, '0').to_i > 0
754+
patch_release = ruby_version.split('.').fetch(2, '0').to_i.positive?
755755

756756
puts 'Releasing Ruby gems...'
757757
Bazel.execute('run', ['--config=release'], '//rb:selenium-webdriver-release')

0 commit comments

Comments
 (0)