<commit_before>module Fastlane
  class Runner

    # This will take care of executing **one** lane. 
    # @param lane_name The name of the lane to execute
    # @param platform The name of the platform to execute
    def execute(lane, platform = nil)
      raise "No lane given" unless lane

      lane = lane.to_sym

      platform = platform.to_sym if platform # might be nil, which is okay => root element

      Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = platform # set this in any case: important

      full_lane_name = [platform, lane].reject(&:nil?).join(' ')
      Helper.log.info "Driving the lane '#{full_lane_name}'".green
      Actions.lane_context[Actions::SharedValues::LANE_NAME] = full_lane_name
      ENV["FASTLANE_LANE_NAME"] = lane.to_s
      ENV["FASTLANE_PLATFORM_NAME"] = platform.to_s

      return_val = nil
<commit_msg>Fixed issue that prevented credential manager to properly parse an Appfile without specified platform name.<commit_after>module Fastlane
  class Runner

    # This will take care of executing **one** lane. 
    # @param lane_name The name of the lane to execute
    # @param platform The name of the platform to execute
    def execute(lane, platform = nil)
      raise "No lane given" unless lane

      ENV["FASTLANE_LANE_NAME"] = lane.to_s
      if platform
        ENV["FASTLANE_PLATFORM_NAME"] = platform.to_s
      else
        ENV["FASTLANE_PLATFORM_NAME"] = nil
      end
      
      lane = lane.to_sym
      platform = platform.to_sym if platform # might be nil, which is okay => root element

      Actions.lane_context[Actions::SharedValues::PLATFORM_NAME] = platform # set this in any case: important

      full_lane_name = [platform, lane].reject(&:nil?).join(' ')
      Helper.log.info "Driving the lane '#{full_lane_name}'".green
      Actions.lane_context[Actions::SharedValues::LANE_NAME] = full_lane_name

      return_val = nil

{'fraction_non_alphanumeric': 0.08991113434396236, 'fraction_numerical': 0.0, 'mean_word_length': 3.359908883826879, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1512953', 'n_tokens_mistral': 584, 'n_tokens_neox': 555, 'n_words': 176}