Skip to content

Commit

Permalink
[rb] fix bad rubocop autocorrection
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 26, 2024
1 parent 168c9f5 commit 4ffaab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/common/zipper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def with_tmp_zip(...)
# Don't use Tempfile since it lacks rb_file_s_rename permission on Windows.
Dir.mktmpdir do |tmp_dir|
zip_path = File.join(tmp_dir, 'webdriver-zip')
Zip::File.open(zip_path, ...)
Zip::File.open(zip_path, Zip::File::CREATE, ...)
end
end

Expand Down

0 comments on commit 4ffaab1

Please sign in to comment.