Permalink
Browse files

packager: TerminalReporter: remove underline/emoji

Reviewed By: cpojer

Differential Revision: D4357225

fbshipit-source-id: 05d6b4fd9b79616a68e5fa3c4700aeac2f3552a9
  • Loading branch information...
jeanlauliac authored and facebook-github-bot committed Dec 21, 2016
1 parent efc12cd commit 04fdf40c612adddca77b08becf398a9b31f56f6a
Showing with 2 additions and 4 deletions.
  1. +2 −4 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');
}

0 comments on commit 04fdf40

Please sign in to comment.