packager: TerminalReporter: remove underline/emoji

Reviewed By: cpojer

Differential Revision: D4357225

fbshipit-source-id: 05d6b4fd9b79616a68e5fa3c4700aeac2f3552a9
This commit is contained in:
Jean Lauliac 2016-12-21 05:52:14 -08:00 committed by Facebook Github Bot
parent 4c98641537
commit 3c3e3b8529
1 changed files with 2 additions and 4 deletions

View File

@ -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');
}