fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.178.0 vs fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.179.0

- old
+ new

@@ -19,12 +19,11 @@ UI.user_error!("Could not find path to project config '#{project_file_path}'. Pass the path to your project (not workspace)!") unless File.exist?(project_file_path) # download certificate unless File.exist?(params[:certificate]) UI.message("Downloading root certificate from (#{ROOT_CERTIFICATE_URL}) to path '#{params[:certificate]}'") - require 'open-uri' File.open(params[:certificate], "w:ASCII-8BIT") do |file| - file.write(open(ROOT_CERTIFICATE_URL, "rb").read) + file.write(FastlaneCore::Helper.open_uri(ROOT_CERTIFICATE_URL, "rb").read) end end # parsing mobileprovision file UI.message("Parsing mobile provisioning profile from '#{params[:profile]}'")