<commit_before>require('log-timestamp');

const exec = require('child_process').exec;
const args = process.argv.slice(2);

if (args.length < 4) {
  console.error('\x1b[31m', 'Please provide paths to node_modules, the input and the output directory and output file');
} else {
  exec(`node ${args[0]}/.bin/node-sass ${args[1]} -o ${args[2]} --source-map true --include-path ${args[0]}`, (err) => {
    if (err) {
      return console.error('\x1b[31m', err);
    }

    console.log('\x1b[32m', `CSS built to file ${args[3]}`);
  });
}
<commit_msg>Update css script to use sass isntead of node-sass.<commit_after>require('log-timestamp');

const exec = require('child_process').exec;
const args = process.argv.slice(2);

if (args.length < 4) {
  console.error('\x1b[31m', 'Please provide paths to node_modules, the input and the output directory and output file');
} else {
  exec(`npx sass -I ${args[0]} ${args[1]}:${args[2]}`, (err) => {
    if (err) {
      return console.error('\x1b[31m', err);
    }

    console.log('\x1b[32m', `CSS built to file ${args[3]}`);
  });
}

{'fraction_non_alphanumeric': 0.20130475302889095, 'fraction_numerical': 0.028890959925442685, 'mean_word_length': 4.042253521126761, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2828509', 'n_tokens_mistral': 391, 'n_tokens_neox': 388, 'n_words': 98}