You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var through = require('through');
|
|
|
|
module.exports = function (file, opts) {
|
|
var data = '';
|
|
return through(write, end);
|
|
|
|
function write (buf) { data += buf }
|
|
function end () {
|
|
this.emit('error', new Error('there was error'))
|
|
this.queue(null);
|
|
}
|
|
};
|