<commit_before>'use strict';

module.exports = (label, object) => {
    if (!object) {
        /* eslint-disable no-console, angular/log */
        console.log(label);
        /* eslint-emable no-console, angular/log */
    } else {
        object.then(value => {
            /* eslint-disable no-console, angular/log */
            console.log(`${label}: `, value);
            /* eslint-emable no-console, angular/log */
        });
    }
};<commit_msg>fixed typo<commit_after>'use strict';

module.exports = (label, object) => {
    if (!object) {
        /* eslint-disable no-console, angular/log */
        console.log(label);
        /* eslint-enable no-console, angular/log */
    } else {
        object.then(value => {
            /* eslint-disable no-console, angular/log */
            console.log(`${label}: `, value);
            /* eslint-enable no-console, angular/log */
        });
    }
};
{'fraction_non_alphanumeric': 0.17199558985667035, 'fraction_numerical': 0.0, 'mean_word_length': 1.89171974522293, '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': '305615', 'n_tokens_mistral': 273, 'n_tokens_neox': 272, 'n_words': 49}