(stream, er)
| 7116 | }; |
| 7117 | |
| 7118 | function done(stream, er) { |
| 7119 | if (er) return stream.emit('error', er); |
| 7120 | |
| 7121 | // if there's nothing in the write buffer, then that means |
| 7122 | // that nothing more will ever be provided |
| 7123 | var ws = stream._writableState; |
| 7124 | var ts = stream._transformState; |
| 7125 | |
| 7126 | if (ws.length) throw new Error('Calling transform done when ws.length != 0'); |
| 7127 | |
| 7128 | if (ts.transforming) throw new Error('Calling transform done when still transforming'); |
| 7129 | |
| 7130 | return stream.push(null); |
| 7131 | } |
| 7132 | },{"./_stream_duplex":44,"core-util-is":6,"inherits":38}],48:[function(require,module,exports){ |
| 7133 | (function (process){ |
| 7134 | // A bit simpler than readable streams. |
no outgoing calls
no test coverage detected