Skip to content

Commit bd3df45

Browse files
committed
[fix] woops
1 parent 2e7343d commit bd3df45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/caronte/streams/proxy.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ function ProxyStream() {
1212
this.once('finish', function() { self.onFinish(); });
1313
}
1414

15+
require('util').inherits(ProxyStream, Duplex);
16+
1517
ProxyStream.prototype.onPipe = function(request) {
1618
var self = this;
1719

@@ -43,4 +45,3 @@ ProxyStream.prototype._read = function(size) {
4345
this.push(chunk);
4446
};
4547

46-
require('util').inherits(ForwardStream, Duplex);

0 commit comments

Comments
 (0)