<commit_before>/* jshint node: true */
'use strict';

const anybar = require('anybar');
const captureExit = require('capture-exit');
const exec = require('child_process').exec;

captureExit.captureExit();

// Open AnyBar (OSX only)
exec('open --hide --background -a AnyBar', (error, stdout, stderror) => {
  if (error) console.error('exec error: ${error}');
});
<commit_msg>Use a template literal to expand error messages<commit_after>/* jshint node: true */
'use strict';

const anybar = require('anybar');
const captureExit = require('capture-exit');
const exec = require('child_process').exec;

captureExit.captureExit();

// Open AnyBar (OSX only)
exec('open --hide --background -a AnyBar', (error, stdout, stderror) => {
  if (error) console.error(`exec error: ${error}`);
});

{'fraction_non_alphanumeric': 0.17902813299232737, 'fraction_numerical': 0.0, 'mean_word_length': 5.214285714285714, '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': '5635935', 'n_tokens_mistral': 244, 'n_tokens_neox': 246, 'n_words': 73}