Sha256: a6ba70bc17c5f2c18ffd98d244d86c9faaf9f9af4f97944bd0e9cd89d1924be1

Contents?: true

Size: 306 Bytes

Versions: 7

Compression:

Stored size: 306 Bytes

Contents

var through = require('through2');

module.exports = function (file, opts) {
    var data = '';
    return through(write, end);
    
    function write (buf, enc, next) { data += buf; next() }
    function end () {
        this.emit('error', new Error('there was error'))
        this.push(null);
    }
};

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
minimum_viable_product-0.0.11 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.6 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.5 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.4 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.3 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.2 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js
brwy_rails-0.0.1 test/dummy/node_modules/browserify/test/bin_tr_error/tr.js