<commit_before>var es = require('event-stream'),
    gutil = require('gulp-util'),
    Buffer = require('buffer').Buffer,
    compass = require('./lib/compass');

module.exports = function(opt){
    function compile(file, cb){
        var filepath = file.path;
        compass(filepath, opt, function(code, stdout, stderr){
            if (code === 127) {
                throw new Error(
                    'You need to have Ruby and Compass installed ' +
                    'and in your system PATH for this task to work. ');
            }
        });
        cb(null, file);
    }

    return es.map(compile);
};<commit_msg>excute callback after generate css files.<commit_after>var es = require('event-stream'),
    gutil = require('gulp-util'),
    Buffer = require('buffer').Buffer,
    compass = require('./lib/compass');

module.exports = function(opt){
    function compile(file, cb){
        var filepath = file.path;
        compass(filepath, opt, function(code, stdout, stderr){
            if (code === 127) {
                throw new Error(
                    'You need to have Ruby and Compass installed ' +
                    'and in your system PATH for this task to work. ');
            }
            // excute callback
            cb(null, file);
        });
    }

    return es.map(compile);
};
{'fraction_non_alphanumeric': 0.1279333838001514, 'fraction_numerical': 0.004542013626040878, 'mean_word_length': 1.924778761061947, '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': '1604544', 'n_tokens_mistral': 369, 'n_tokens_neox': 352, 'n_words': 107}