Skip to content

Commit 09f2d87

Browse files
committed
Use verbose reporter when stdout is not a TTY
Fixes #1826.
1 parent b3f7a70 commit 09f2d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ exports.run = () => { // eslint-disable-line complexity
207207
reportStream: process.stdout,
208208
stdStream: process.stderr
209209
});
210-
} else if (conf.verbose || isCi) {
210+
} else if (conf.verbose || isCi || !process.stdout.isTTY) {
211211
reporter = new VerboseReporter({
212212
reportStream: process.stdout,
213213
stdStream: process.stderr,

0 commit comments

Comments
 (0)