<commit_before>import checkContainsAnyText from './checkContainsAnyText';

module.exports = (element, falseCase, done) => {
    let newFalseCase = true;
    let newDone = done;

    console.log(element, falseCase);

    if (typeof falseCase === 'function') {
        newDone = falseCase;
        newFalseCase = false;
    } else if (falseCase === ' not') {
        newFalseCase = false;
    }

    console.log(element, newFalseCase);

    return checkContainsAnyText(element, newFalseCase, newDone);
};
<commit_msg>Removed console.log leftovers<commit_after>import checkContainsAnyText from './checkContainsAnyText';

module.exports = (element, falseCase, done) => {
    let newFalseCase = true;
    let newDone = done;

    if (typeof falseCase === 'function') {
        newDone = falseCase;
        newFalseCase = false;
    } else if (falseCase === ' not') {
        newFalseCase = false;
    }

    return checkContainsAnyText(element, newFalseCase, newDone);
};

{'fraction_non_alphanumeric': 0.1189245087900724, 'fraction_numerical': 0.0, 'mean_word_length': 3.3214285714285716, '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': '1863430', 'n_tokens_mistral': 288, 'n_tokens_neox': 279, 'n_words': 70}