<commit_before>module Fastlane
  module Actions
    module SharedValues
      SIGH_PROFILE_PATH = :SIGH_PROFILE_PATH
      SIGH_UDID = :SIGH_UDID
    end

    class SighAction
      def self.run(params)
        require 'sigh'
        require 'sigh/options'
        require 'credentials_manager/appfile_config'

        Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (params.first || {}))
        path = Sigh::DeveloperCenter.new.run



        path = File.expand_path(File.join('.', File.basename(path)))
        if path
          if Sigh.config[:filename]
            file_name = Sigh.config[:filename]
          else
            file_name = File.basename(path)
          end
          
          output = File.join(Sigh.config[:output_path].gsub("~", ENV["HOME"]), file_name)
          (FileUtils.mv(path, output) rescue nil) # in case it already exists
          system("open -g '#{output}'") unless Sigh.config[:skip_install]
          puts output.green
        end

        Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = path # absolute path
        Actions.lane_context[SharedValues::SIGH_UDID] = ENV["SIGH_UDID"] if ENV["SIGH_UDID"] # The UDID of the new profile
      end
    end
  end
end<commit_msg>Fixed not setting the output path<commit_after>module Fastlane
  module Actions
    module SharedValues
      SIGH_PROFILE_PATH = :SIGH_PROFILE_PATH
      SIGH_UDID = :SIGH_UDID
    end

    class SighAction
      def self.run(params)
        require 'sigh'
        require 'sigh/options'
        require 'credentials_manager/appfile_config'

        Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (params.first || {}))
        path = Sigh::DeveloperCenter.new.run



        path = File.expand_path(File.join('.', File.basename(path)))
        if path
          if Sigh.config[:filename]
            file_name = Sigh.config[:filename]
          else
            file_name = File.basename(path)
          end
          
          output = File.join(Sigh.config[:output_path].gsub("~", ENV["HOME"]), file_name)
          (FileUtils.mv(path, output) rescue nil) # in case it already exists
          system("open -g '#{output}'") unless Sigh.config[:skip_install]
          puts output.green
          path = output
        end

        Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = path # absolute path
        Actions.lane_context[SharedValues::SIGH_UDID] = ENV["SIGH_UDID"] if ENV["SIGH_UDID"] # The UDID of the new profile
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10392156862745099, 'fraction_numerical': 0.0, 'mean_word_length': 2.5283540802213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7561210', 'n_tokens_mistral': 793, 'n_tokens_neox': 770, 'n_words': 162}