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 authored Jul 5, 2022
1 parent d77f5ed commit 7731574
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 7731574

Please sign in to comment.