Code Duplication    Length = 1-1 lines in 2 locations

node_modules/mocha/mocha.js 1 location

@@ 2161-2161 (lines=1) @@
2158
 * @param {boolean} escape
2159
 * @return {string} The diff.
2160
 */
2161
function unifiedDiff (err, escape) {
2162
  var indent = '      ';
2163
  function cleanUp (line) {
2164
    if (escape) {

node_modules/mocha/lib/reporters/base.js 1 location

@@ 406-406 (lines=1) @@
403
 * @param {boolean} escape
404
 * @return {string} The diff.
405
 */
406
function unifiedDiff (err, escape) {
407
  var indent = '      ';
408
  function cleanUp (line) {
409
    if (escape) {