Skip to content

Commit 4ffaab1

Browse files
committed
[rb] fix bad rubocop autocorrection
1 parent 168c9f5 commit 4ffaab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/zipper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def with_tmp_zip(...)
7575
# Don't use Tempfile since it lacks rb_file_s_rename permission on Windows.
7676
Dir.mktmpdir do |tmp_dir|
7777
zip_path = File.join(tmp_dir, 'webdriver-zip')
78-
Zip::File.open(zip_path, ...)
78+
Zip::File.open(zip_path, Zip::File::CREATE, ...)
7979
end
8080
end
8181

0 commit comments

Comments
 (0)