<commit_before>'use strict';
/*
创建Gulp配置文件
*/
const co = require('co');
const gulpbuild = require('../project/gulpbuild');
module.exports = (ops) => {
    co(function* () {
        var eventStr = 'css js img';
        console.log(ops);
        var hasOps = false;
        if (ops.watch) {
            hasOps = true;
            gulpbuild.watch();
            gulpbuild.default();
        }else {
            eventStr.replace(/\w+/g, function (key) {
                if (ops.hasOwnProperty(key)) {
                    hasOps = true;
                    gulpbuild[key]();
                }
            });
        }
        if (!hasOps) {
            gulpbuild.default();
        }
    });
};<commit_msg>去除console (#9)<commit_after>'use strict';
/*
创建Gulp配置文件
*/
const co = require('co');
const gulpbuild = require('../project/gulpbuild');
module.exports = (ops) => {
    co(function* () {
        var eventStr = 'css js img';
        var hasOps = false;
        if (ops.watch) {
            hasOps = true;
            gulpbuild.watch();
            gulpbuild.default();
        }else {
            eventStr.replace(/\w+/g, function (key) {
                if (ops.hasOwnProperty(key)) {
                    hasOps = true;
                    gulpbuild[key]();
                }
            });
        }
        if (!hasOps) {
            gulpbuild.default();
        }
    });
};
{'fraction_non_alphanumeric': 0.15300942712110224, 'fraction_numerical': 0.0007251631617113851, 'mean_word_length': 1.3711340206185567, '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': '6152291', 'n_tokens_mistral': 423, 'n_tokens_neox': 412, 'n_words': 78}