Skip to content

Commit 738d298

Browse files
byCedricmarionebl
authored andcommitted
refactor(cli): use simplified formatter options instead of flag
1 parent 1f64b41 commit 738d298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/cli/src/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ async function main(options) {
166166
}
167167
);
168168

169-
const output = format(report, flags);
169+
const output = format(report, {color: flags.color});
170170

171171
if (!flags.quiet) {
172172
process.stdout.write(output);

0 commit comments

Comments
 (0)