Skip to content

Commit

Permalink
feat: use process.stdout.columns for reporter maxCols (bcoe#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Jul 5, 2022
1 parent ef5e555 commit 187facf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Report {
reports.create(_reporter, {
skipEmpty: false,
skipFull: this.skipFull,
maxCols: 100
maxCols: process.stdout.columns || 100
}).execute(context)
}
}
Expand Down

0 comments on commit 187facf

Please sign in to comment.