Skip to content

Commit

Permalink
Use verbose reporter when stdout is not a TTY
Browse files Browse the repository at this point in the history
Fixes #1826.
  • Loading branch information
novemberborn committed Jun 13, 2018
1 parent b3f7a70 commit 09f2d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ exports.run = () => { // eslint-disable-line complexity
reportStream: process.stdout,
stdStream: process.stderr
});
} else if (conf.verbose || isCi) {
} else if (conf.verbose || isCi || !process.stdout.isTTY) {
reporter = new VerboseReporter({
reportStream: process.stdout,
stdStream: process.stderr,
Expand Down

0 comments on commit 09f2d87

Please sign in to comment.