File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -41,23 +41,19 @@ Blobs.prototype.createWriteStream = function (opts, cb) {
4141 Transform . call ( this , options )
4242 this . _bufs = [ ]
4343 this . _evilIsFlushing = false
44- this . _evilPending = 0
45- this . _evilWantFinish = false
4644 this . _evilFlushed = false
4745 }
4846
4947 util . inherits ( FlushableStream , Transform )
5048
5149 FlushableStream . prototype . _transform = function ( chunk , encoding , done ) {
52- this . _evilPending ++
5350 // coerce number arguments to strings, since Buffer(number) does
5451 // uninitialized memory allocation
5552 if ( typeof buf === 'number' ) chunk = chunk . toString ( )
5653
5754 this . _bufs . push ( Buffer . isBuffer ( chunk ) ? chunk : new Buffer ( chunk ) )
5855 this . push ( chunk )
5956
60- this . _evilPending --
6157 if ( done ) done ( )
6258 }
6359
You can’t perform that action at this time.
0 commit comments