match/lib/match/importer.rb in fastlane-2.131.0.beta.20190902200022 vs match/lib/match/importer.rb in fastlane-2.131.0.beta.20190903200013
- old
+ new
@@ -70,10 +70,10 @@
matching_cert = certs.find do |cert|
cert.certificate_content == cert_contents_base_64
end
- UI.error!("This certificate cannot be imported - the certificate contents did not match with any available on the Developer Portal") if matching_cert.nil?
+ UI.user_error!("This certificate cannot be imported - the certificate contents did not match with any available on the Developer Portal") if matching_cert.nil?
# Make dir if doesn't exist
FileUtils.mkdir_p(output_dir)
dest_cert_path = File.join(output_dir, "#{matching_cert.id}.cer")
dest_p12_path = File.join(output_dir, "#{matching_cert.id}.p12")