Skip to content

Commit 86eb048

Browse files
fix(cli-reporter): fix undefined _style (#14018)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 0a317bf commit 86eb048

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

packages/cli-reporter/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@
99

1010
const chalk = require('chalk');
1111

12-
// Fix bold on Windows
13-
// Reference: https://github.com/yarnpkg/yarn/blob/ed2c8a50c02505bdd6bd67d5e8c4461abc2b8dae/src/reporters/console/console-reporter.js#L32-L35
14-
if (
15-
process.platform === 'win32' &&
16-
!(process.env.TERM && /^xterm/i.test(process.env.TERM))
17-
) {
18-
chalk.bold._styles[0].close += '\u001b[m';
19-
}
20-
2112
class ConsoleReporter {
2213
constructor({
2314
stderr = process.stderr,

0 commit comments

Comments
 (0)