From 4ee08d85d09e99f61d812519a70adb6047ff8581 Mon Sep 17 00:00:00 2001 From: Even Stensberg Date: Thu, 17 Sep 2020 03:17:38 +0200 Subject: [PATCH] misc(remove code): remove unused code (#1800) * misc(remove code): remove unused code * misc(remove code): remove unused code Co-authored-by: Nitin Kumar --- packages/webpack-cli/lib/utils/Compiler.js | 4 ---- packages/webpack-cli/lib/utils/CompilerOutput.js | 4 ---- 2 files changed, 8 deletions(-) diff --git a/packages/webpack-cli/lib/utils/Compiler.js b/packages/webpack-cli/lib/utils/Compiler.js index ea4703d4366..20774ddbe9e 100644 --- a/packages/webpack-cli/lib/utils/Compiler.js +++ b/packages/webpack-cli/lib/utils/Compiler.js @@ -33,10 +33,6 @@ class Compiler { }); } - showEmojiConditionally() { - return process.stdout.isTTY && process.platform === 'darwin'; - } - generateOutput(outputOptions, stats) { this.output.generateRawOutput(stats, this.compilerOptions); process.stdout.write('\n'); diff --git a/packages/webpack-cli/lib/utils/CompilerOutput.js b/packages/webpack-cli/lib/utils/CompilerOutput.js index 60b817f84d8..3c1456ce5c9 100644 --- a/packages/webpack-cli/lib/utils/CompilerOutput.js +++ b/packages/webpack-cli/lib/utils/CompilerOutput.js @@ -27,10 +27,6 @@ class CompilerOutput { .slice(0, 15) .join('\n'); } - - _showEmojiConditionally() { - return process.stdout.isTTY && process.platform === 'darwin'; - } } module.exports = { CompilerOutput };