Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 10271-10271 (lines=1) @@
10268
  if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
10269
}
10270
10271
function Duplex(options) {
10272
  if (!(this instanceof Duplex)) return new Duplex(options);
10273
10274
  Readable.call(this, options);

node_modules/readable-stream/lib/_stream_duplex.js 1 location

@@ 61-61 (lines=1) @@
58
  if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
59
}
60
61
function Duplex(options) {
62
  if (!(this instanceof Duplex)) return new Duplex(options);
63
64
  Readable.call(this, options);