<commit_before>export default (template, values = {}) => {
    let path = template;

    Object.keys(values).forEach((key) => {
        if (Object.prototype.hasOwnProperty.call(values, key)) {
            path = path.replace(`{${key}}`, values[key]);
        }
    });

    return path;
};<commit_msg>Removed unnecessary check in createPath (#13)<commit_after>export default (template, values = {}) => {
    let path = template;

    Object.keys(values).forEach((key) => {
        path = path.replace(`{${key}}`, values[key]);
    });

    return path;
};
{'fraction_non_alphanumeric': 0.18558558558558558, 'fraction_numerical': 0.0036036036036036037, 'mean_word_length': 3.088235294117647, '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': '5075104', 'n_tokens_mistral': 169, 'n_tokens_neox': 164, 'n_words': 34}