<commit_before>import _ from 'lodash';

import alt from '../alt';

import ConfigActions from '../actions/config';

class ConfigStore {
    constructor() {
        this.config = {};
        this.configDir = '.';

        this.bindListeners({
            handleUpdateConfig: ConfigActions.LOAD
        });
    }

    handleUpdateConfig(data) {
        console.log(data);

        _.assign(this.config, data.config || {});

        this.configDir = data.dir || this.configDir;
    }
}<commit_msg>Removed console.log<commit_after>import _ from 'lodash';

import alt from '../alt';

import ConfigActions from '../actions/config';

class ConfigStore {
    constructor() {
        this.config = {};
        this.configDir = '.';

        this.bindListeners({
            handleUpdateConfig: ConfigActions.LOAD
        });
    }

    handleUpdateConfig(data) {
        _.assign(this.config, data.config || {});

        this.configDir = data.dir || this.configDir;
    }
}
{'fraction_non_alphanumeric': 0.1421161825726141, 'fraction_numerical': 0.0, 'mean_word_length': 2.2823129251700682, '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': '1527983', 'n_tokens_mistral': 280, 'n_tokens_neox': 273, 'n_words': 52}