lib/pod/command/keys/set.rb in cocoapods-keys-2.0.5 vs lib/pod/command/keys/set.rb in cocoapods-keys-2.0.6
- old
+ new
@@ -38,9 +38,10 @@
# set a key to a folder id in ~/.cocoapods/keys
# info "Saving into the keychain."
keyring = get_current_keyring || create_keyring
keyring.keys << @key_name.tr('-', '_')
+ keyring.keys.uniq!
CocoaPodsKeys::KeyringLiberator.save_keyring keyring
keyring.save @key_name, @key_value
UI.puts "Saved #{@key_name} to #{keyring.name}." unless config.silent?