From 04fdf40c612adddca77b08becf398a9b31f56f6a Mon Sep 17 00:00:00 2001 From: Jean Lauliac Date: Wed, 21 Dec 2016 05:52:14 -0800 Subject: [PATCH] packager: TerminalReporter: remove underline/emoji Reviewed By: cpojer Differential Revision: D4357225 fbshipit-source-id: 05d6b4fd9b79616a68e5fa3c4700aeac2f3552a9 --- packager/react-packager/src/lib/TerminalReporter.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packager/react-packager/src/lib/TerminalReporter.js b/packager/react-packager/src/lib/TerminalReporter.js index a720729a1..d733a8d95 100644 --- a/packager/react-packager/src/lib/TerminalReporter.js +++ b/packager/react-packager/src/lib/TerminalReporter.js @@ -11,7 +11,6 @@ 'use strict'; -const chalk = require('chalk'); const path = require('path'); const reporting = require('./reporting'); const terminal = require('./terminal'); @@ -32,7 +31,6 @@ type BundleProgress = { const DARK_BLOCK_CHAR = '\u2593'; const LIGHT_BLOCK_CHAR = '\u2591'; -const PACKAGE_EMOJI = '\uD83D\uDCE6'; function getProgressBar(ratio: number, length: number) { const blockCount = Math.floor(ratio * length); @@ -110,8 +108,8 @@ class TerminalReporter { ): string { const localPath = path.relative('.', entryFilePath); return [ - chalk.underline(`Bundling ${PACKAGE_EMOJI} \`${localPath}\``), - this._getFileTransformMessage(progress, build), + `Bundling \`${localPath}\``, + ' ' + this._getFileTransformMessage(progress, build), ].join('\n'); }