We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168c9f5 commit 4ffaab1Copy full SHA for 4ffaab1
rb/lib/selenium/webdriver/common/zipper.rb
@@ -75,7 +75,7 @@ def with_tmp_zip(...)
75
# Don't use Tempfile since it lacks rb_file_s_rename permission on Windows.
76
Dir.mktmpdir do |tmp_dir|
77
zip_path = File.join(tmp_dir, 'webdriver-zip')
78
- Zip::File.open(zip_path, ...)
+ Zip::File.open(zip_path, Zip::File::CREATE, ...)
79
end
80
81
0 commit comments