<commit_before>'use strict';

let childProcess = require('child-process-promise');

const runCommandList = async (commandList) => {
  const commandString = commandList.join(' && ');

  try {
    const runResult = await childProcess.exec(commandString);

    if (runResult.childProcess.exitCode > 0) {
      throw new Error(runResult.stderr);<commit_msg>fix(lint): add lint exception for child_process.exec<commit_after>'use strict';

let childProcess = require('child-process-promise');

const runCommandList = async (commandList) => {
  const commandString = commandList.join(' && ');

  try {
    const runResult = await childProcess.exec(commandString); // eslint-disable-line security/detect-child-process

    if (runResult.childProcess.exitCode > 0) {
      throw new Error(runResult.stderr);
{'fraction_non_alphanumeric': 0.12656641604010024, 'fraction_numerical': 0.002506265664160401, 'mean_word_length': 4.666666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6513619', 'n_tokens_mistral': 234, 'n_tokens_neox': 227, 'n_words': 52}