<commit_before>module JekyllAndHyde
  module Actions
    def inside_app_path(config = {}, &block)
      inside app_path, config, &block
    end

    def run_command(command, config={})
      result = run(command, config)
      raise "Errors occured when running command \"#{command}\"." unless result
    end

    def say_status(status, message, log_status=true)
      self.shell.say_status(status, message, log_status)
    end

    def set_color(string, color, bold=false)
      self.shell.set_color(string, color, bold)
    end
  end
end<commit_msg>Fixed action to thorw error.<commit_after>module JekyllAndHyde
  module Actions
    def inside_app_path(config = {}, &block)
      inside app_path, config, &block
    end

    def run_command(command, config={})
      result = run(command, config)
      raise Error, "Errors occured when running command \"#{command}\"." unless result
    end

    def say_status(status, message, log_status=true)
      self.shell.say_status(status, message, log_status)
    end

    def set_color(string, color, bold=false)
      self.shell.set_color(string, color, bold)
    end
  end
end
{'fraction_non_alphanumeric': 0.099644128113879, 'fraction_numerical': 0.0, 'mean_word_length': 3.411764705882353, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4487618', 'n_tokens_mistral': 353, 'n_tokens_neox': 343, 'n_words': 96}