We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ff341 commit ba547e7Copy full SHA for ba547e7
cli-main.js
@@ -136,7 +136,7 @@ if (typeof options.space === 'string') {
136
}
137
138
const log = report => {
139
- const reporter = options.reporter ? xo.getFormatter(options.reporter) : formatterPretty;
+ const reporter = options.reporter || process.env.GITHUB_ACTIONS ? xo.getFormatter(options.reporter || 'compact') : formatterPretty;
140
process.stdout.write(reporter(report.results));
141
process.exitCode = report.errorCount === 0 ? 0 : 1;
142
};
0 commit comments