lib/preinstaller.rb in cocoapods-keys-1.7.0 vs lib/preinstaller.rb in cocoapods-keys-2.0.0
- old
+ new
@@ -40,9 +40,13 @@
# Add keys to the keyring that have been added,
# and prompt for their value if needed.
keys.each do |key|
unless keyring.keychain_has_key?(key)
+ if ENV['CI']
+ raise Informative, "CocoaPods-Keys could not find a key named: #{key}"
+ end
+
unless has_shown_intro
ui.puts "\n CocoaPods-Keys has detected a keys mismatch for your setup."
has_shown_intro = true
end