Skip to content

Commit

Permalink
add env: FORCE_COLOR: true.
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Sep 27, 2024
1 parent 6cad6f3 commit 53664ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
![](/docs/report.gif)

![](/docs/cli.png)
(For Github actions, we can enforce color with env: `FORCE_COLOR: true`)

## Install
```sh
Expand Down
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class MonocartReporter {
this.tickTime = this.options.tickTime || 1000;
this.tickStart();

this.trends = [];
// read trends from json before clean dir
getTrends(this.options.trend).then((trends) => {
// console.log('=========================== ', 'trends', trends.length);
Expand Down

0 comments on commit 53664ee

Please sign in to comment.