Skip to content

Commit

Permalink
fix: 馃悰 use the color option for --log (fixes folke#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Nov 30, 2020
1 parent 2a93269 commit c7370de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Expand Up @@ -67,7 +67,7 @@ export class Cli {
process.exit(1)
}
}
if (processLog) text = this.commits.formatLog(text)
if (processLog) text = this.commits.formatLog(text, color ? true : false)
else if (processCommit)
text = this.commits.formatCommit(text, color ? true : false)
switch (format) {
Expand Down

0 comments on commit c7370de

Please sign in to comment.