<commit_before>module.exports = function() {
    var context = this;

    var cmd = context.require('./utils/cmd'),
        Q = context.require('q');

    this.task('init', function(logger) {
        logger.log('Updating composer...'.yellow);
        return cmd('composer', ['update']).then(function(stream) {
            console.log(stream[0]);
        });
    });

};<commit_msg>arg len validation<commit_after>module.exports = function() {
    var context = this;

    var cmd = context.require('./utils/cmd'),
        Q = context.require('q');

    this.task('init', function(logger) {
        if (arguments.length > 1) {
            throw new Error('Wrong argument');
        }

        logger.log('Updating composer...'.yellow);
        return cmd('composer', ['update']).then(function(stream) {
            console.log(stream[0]);
        });
    });

};

{'fraction_non_alphanumeric': 0.18213457076566125, 'fraction_numerical': 0.0034802784222737818, 'mean_word_length': 2.4246031746031744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3766936', 'n_tokens_mistral': 254, 'n_tokens_neox': 245, 'n_words': 45}