Skip to content

Commit 7731574

Browse files
authored
feat: use process.stdout.columns for reporter maxCols (bcoe#409)
1 parent d77f5ed commit 7731574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Report {
7474
reports.create(_reporter, {
7575
skipEmpty: false,
7676
skipFull: this.skipFull,
77-
maxCols: 100
77+
maxCols: process.stdout.columns || 100
7878
}).execute(context)
7979
}
8080
}

0 commit comments

Comments
 (0)