pilot/lib/pilot/commands_generator.rb in fastlane-2.29.0.beta.20170421010107 vs pilot/lib/pilot/commands_generator.rb in fastlane-2.29.0.beta.20170422010059
- 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?