lib/selenium/webdriver/common/zipper.rb in selenium-webdriver-4.3.0 vs lib/selenium/webdriver/common/zipper.rb in selenium-webdriver-4.4.0
- old
+ new
@@ -39,10 +39,10 @@
Zip::File.open(path) do |zip|
zip.each do |entry|
to = File.join(destination, entry.name)
dirname = File.dirname(to)
- FileUtils.mkdir_p dirname unless File.exist? dirname
+ FileUtils.mkdir_p dirname
zip.extract(entry, to)
end
end
destination