./lib/shenzhen/plugins/itunesconnect.rb in shenzhen-0.10.2 vs ./lib/shenzhen/plugins/itunesconnect.rb in shenzhen-0.10.3

- old
+ new

@@ -104,9 +104,10 @@ apple_id = options.apple_id say_error "Missing Apple ID" and abort unless apple_id @password = options.password || ENV['ITUNES_CONNECT_PASSWORD'] if @password ||= Security::GenericPassword.find(:s => Shenzhen::Plugins::ITunesConnect::ITUNES_CONNECT_SERVER, :a => @account) + @password = @password.password say_ok "Found password in keychain for account: #{@account}" if options.verbose else determine_itunes_connect_password! unless @password say_error "Missing iTunes Connect password" and abort unless @password