Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 8299-8299 (lines=1) @@
8296
8297
	/*istanbul ignore start*/function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
8298
8299
	/*istanbul ignore end*/function calcLineCount(hunk) {
8300
	  var conflicted = false;
8301
8302
	  hunk.oldLines = 0;

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

@@ 15-15 (lines=1) @@
12
13
/*istanbul ignore start*/function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
14
15
/*istanbul ignore end*/function calcLineCount(hunk) {
16
  var conflicted = false;
17
18
  hunk.oldLines = 0;