From 9f58576d127b34aadbb0c5b89e506faf503b3e34 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Thu, 22 Sep 2016 09:56:06 +0100 Subject: [PATCH] only enable emoji for osx - closes #405 (#415) --- src/cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/index.js b/src/cli/index.js index 827f22c0b5..fa1441dd39 100644 --- a/src/cli/index.js +++ b/src/cli/index.js @@ -94,7 +94,7 @@ if (commander.json) { Reporter = JSONReporter; } let reporter = new Reporter({ - emoji: true, + emoji: process.stdout.isTTY && process.platform === 'darwin', }); reporter.initPeakMemoryCounter();