Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 8557-8557 (lines=1) @@
8554
	  }
8555
	}
8556
8557
	function collectChange(state) {
8558
	  var ret = [],
8559
	      operation = state.lines[state.index][0];
8560
	  while (state.index < state.lines.length) {

node_modules/diff/lib/patch/merge.js 1 location

@@ 273-273 (lines=1) @@
270
  }
271
}
272
273
function collectChange(state) {
274
  var ret = [],
275
      operation = state.lines[state.index][0];
276
  while (state.index < state.lines.length) {