<commit_before>const execSync = require('child_process').execSync;

/**
 A semantic release "prepare" plugin to update elm-package.json
 */
async function prepareElmRelease(config, context) {
  function exec(command) {
    context.logger.log(`Running: ${command}`);
    execSync(command);
  }

  exec(`yarn elm-package diff`);
  exec(`yarn elm-package bump`);
}

module.exports = prepareElmRelease;<commit_msg>fix(ci): Attempt to say "yes" to `elm-package bump`<commit_after>const execSync = require('child_process').execSync;

/**
 A semantic release "prepare" plugin to update elm-package.json
 */
async function prepareElmRelease(config, context) {
  function exec(command) {
    context.logger.log(`Running: ${command}`);
    execSync(command, { shell: '/bin/bash' });
  }

  exec(`yarn elm-package diff`);
  exec(`yes | yarn elm-package bump`);
}

module.exports = prepareElmRelease;
{'fraction_non_alphanumeric': 0.14752252252252251, 'fraction_numerical': 0.0, 'mean_word_length': 4.966442953020135, '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': '3358515', 'n_tokens_mistral': 282, 'n_tokens_neox': 279, 'n_words': 65}