From 3bd773a865a10ae7e9512610f5f9ce1a7d4e42f4 Mon Sep 17 00:00:00 2001 From: Kelly Miyashiro Date: Tue, 1 Dec 2015 02:33:23 -0800 Subject: [PATCH] Remove cruft --- tasks/mocha.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tasks/mocha.js b/tasks/mocha.js index fb3ddc5..82168fd 100644 --- a/tasks/mocha.js +++ b/tasks/mocha.js @@ -179,16 +179,11 @@ module.exports = function(grunt) { var dest = this.data.dest; var output = []; var consoleLog = console.log; - // Latest mocha xunit reporter sends to process.stdout instead of console - var processWrite = process.stdout.write; - // Only hijack if we really need to if (dest) { console.log = function() { consoleLog.apply(console, arguments); - // FIXME: This breaks older versions of mocha - // processWrite.apply(process.stdout, arguments); output.push(util.format.apply(util, arguments)); }; }