<commit_before>#! /usr/bin/env node

const chalk = require('chalk');
const { exec } = require('../dist/bin');

(async () => {
  try {
    await exec();
  } catch (err) {
    console.error(`${chalk.red(err.message)}`);
  }
})();<commit_msg>feat: exit on error<commit_after>#! /usr/bin/env node

const chalk = require('chalk');
const { exec } = require('../dist/bin');

(async () => {
  try {
    await exec();
  } catch (err) {
    console.error(`${chalk.red(err.message)}`);
    process.exitCode = 1;
  }
})();
{'fraction_non_alphanumeric': 0.23921568627450981, 'fraction_numerical': 0.00196078431372549, 'mean_word_length': 3.330508474576271, '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': '5130989', 'n_tokens_mistral': 191, 'n_tokens_neox': 191, 'n_words': 37}