Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 11971-11971 (lines=1) @@
11968
// if we're already writing something, then just put this
11969
// in the queue, and wait our turn.  Otherwise, call _write
11970
// If we return false, then we need a drain event, so set that flag.
11971
function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
11972
  if (!isBuf) {
11973
    var newChunk = decodeChunk(state, chunk, encoding);
11974
    if (chunk !== newChunk) {

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

@@ 374-374 (lines=1) @@
371
// if we're already writing something, then just put this
372
// in the queue, and wait our turn.  Otherwise, call _write
373
// If we return false, then we need a drain event, so set that flag.
374
function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
375
  if (!isBuf) {
376
    var newChunk = decodeChunk(state, chunk, encoding);
377
    if (chunk !== newChunk) {