fastlane/lib/fastlane/command_line_handler.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/command_line_handler.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -5,10 +5,10 @@ # @param [Array] args A hash of all options (e.g. --env NAME) def self.handle(args, options) lane_parameters = {} # the parameters we'll pass to the lane platform_lane_info = [] # the part that's responsible for the lane/platform definition args.each do |current| - if current.include? ":" # that's a key/value which we want to pass to the lane + if current.include?(":") # that's a key/value which we want to pass to the lane key, value = current.split(":", 2) UI.user_error!("Please pass values like this: key:value") unless key.length > 0 value = convert_value(value) UI.verbose("Using #{key}: #{value}") lane_parameters[key.to_sym] = value