lib/pilot/commands_generator.rb in pilot-1.10.0 vs lib/pilot/commands_generator.rb in pilot-1.10.1
- old
+ new
@@ -1,7 +1,5 @@
-# rubocop:disable Metrics/MethodLength
-# rubocop:disable Metrics/AbcSize
require "commander"
require "pilot/options"
require "fastlane_core"
HighLine.track_eof = false
@@ -27,11 +25,11 @@
def handle_multiple(action, args, options)
mgr = Pilot::TesterManager.new
config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
args.push(config[:email]) if config[:email] && args.empty?
- args.push(ask("Email address of the tester: ".yellow)) if args.empty?
+ args.push(UI.input("Email address of the tester: ")) if args.empty?
failures = []
args.each do |address|
config[:email] = address
begin
mgr.public_send(action, config)
@@ -136,7 +134,5 @@
run!
end
end
end
-# rubocop:enable Metrics/MethodLength
-# rubocop:enable Metrics/AbcSize