From 8abbf3012f37920192c685a96e52ffe9cd0bbe33 Mon Sep 17 00:00:00 2001 From: Steven Edouard Date: Thu, 14 Jan 2016 01:33:58 -0500 Subject: [PATCH] Console success output should print on Windows cmd --- tools/console/console.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/console/console.js b/tools/console/console.js index e7236e4679..cece8d51f4 100644 --- a/tools/console/console.js +++ b/tools/console/console.js @@ -901,11 +901,18 @@ _.extend(Console.prototype, { // with the CHECKMARK as the bullet point in front of it. success: function (message) { var self = this; + var checkmark; if (! self._pretty) { return self.info(message); } - var checkmark = chalk.green('\u2713'); // CHECKMARK + + if (process.platform === "win32") { + checkmark = chalk.green('SUCCESS'); + } else { + checkmark = chalk.green('\u2713'); // CHECKMARK + } + return self.info( chalk.green(message), self.options({ bulletPoint: checkmark + " "}));