pilot/lib/pilot/commands_generator.rb in fastlane-2.28.2 vs pilot/lib/pilot/commands_generator.rb in fastlane-2.28.3

- old
+ new

@@ -27,10 +27,11 @@ args.each do |address| config[:email] = address begin mgr.public_send(action, config) rescue => ex - message = "[#{address}]: #{ex}" + # no need to show the email address in the message if only one specified + message = (args.count > 1) ? "[#{address}]: #{ex}" : ex failures << message UI.error(message) end end UI.user_error!("Some operations failed: #{failures.join(', ')}") unless failures.empty?