pilot/lib/pilot/commands_generator.rb in fastlane-2.11.0 vs pilot/lib/pilot/commands_generator.rb in fastlane-2.12.0

- old
+ new

@@ -29,14 +29,15 @@ args.each do |address| config[:email] = address begin mgr.public_send(action, config) rescue => ex - failures.push(address) - UI.message("[#{address}]: #{ex}") + message = "[#{address}]: #{ex}" + failures << message + UI.error(message) end end - UI.user_error!("Some operations failed: #{failures}") unless failures.empty? + UI.user_error!("Some operations failed: #{failures.join(', ')}") unless failures.empty? end def run program :name, 'pilot' program :version, Fastlane::VERSION