./lib/cupertino/provisioning_portal/commands/profiles.rb in cupertino-0.3.2 vs ./lib/cupertino/provisioning_portal/commands/profiles.rb in cupertino-0.3.3

- old
+ new

@@ -3,10 +3,10 @@ c.summary = 'Lists the Provisioning Profiles' c.description = '' c.action do |args, options| type = args.first.downcase.to_sym rescue nil - profiles = agent.list_profiles(type ||= :development) + profiles = try{agent.list_profiles(type ||= :development)} say_warning "No #{type} provisioning profiles found." and abort if profiles.empty? table = Terminal::Table.new do |t| t << ["Profile", "App ID", "Status"]