Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 11911-11911 (lines=1) @@
11908
  return valid;
11909
}
11910
11911
Writable.prototype.write = function (chunk, encoding, cb) {
11912
  var state = this._writableState;
11913
  var ret = false;
11914
  var isBuf = _isUint8Array(chunk) && !state.objectMode;

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

@@ 314-314 (lines=1) @@
311
  return valid;
312
}
313
314
Writable.prototype.write = function (chunk, encoding, cb) {
315
  var state = this._writableState;
316
  var ret = false;
317
  var isBuf = !state.objectMode && _isUint8Array(chunk);