deliver/lib/deliver/download_screenshots.rb in fastlane-2.178.0 vs deliver/lib/deliver/download_screenshots.rb in fastlane-2.179.0
- old
+ new
@@ -1,8 +1,7 @@
require_relative 'module'
require 'spaceship'
-require 'open-uri'
module Deliver
class DownloadScreenshots
def self.run(options, path)
UI.message("Downloading all existing screenshots...")
@@ -66,10 +65,10 @@
rescue
# if it's already there
end
path = File.join(containing_folder, file_name)
- File.binwrite(path, open(url).read)
+ File.binwrite(path, FastlaneCore::Helper.open_uri(url).read)
end
end
end
end
end