Closed shileiyu closed 10 years ago
var inStream = self.gfs.createWriteStream(options); inStream.on('close', function(file) { console.log('never happened if content is an empty stream'). }); content.pipe(inStream);
Your sample code doesn't show what content exactly is in this case, or what is done with it.
content
Please provide a unit test describing the exact issue.