Skip to content

Commit 33220e4

Browse files
committed
fix: use basic reporter only for ci and test environments
fixes windows platform issues
1 parent 96f9df0 commit 33220e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (global.consola) {
1414
module.exports = global.consola = new Consola({
1515
level,
1616
reporters: [
17-
env.minimalCLI
17+
(env.ci || env.test)
1818
? new BasicReporter()
1919
: new FancyReporter()
2020
]

0 commit comments

Comments
 (0)