From 77315744b219b90eb6a02efc9d26e5400f99af62 Mon Sep 17 00:00:00 2001 From: stagas Date: Tue, 5 Jul 2022 20:52:52 +0300 Subject: [PATCH] feat: use process.stdout.columns for reporter maxCols (#409) --- lib/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report.js b/lib/report.js index d86cc611..b1f3f6df 100644 --- a/lib/report.js +++ b/lib/report.js @@ -74,7 +74,7 @@ class Report { reports.create(_reporter, { skipEmpty: false, skipFull: this.skipFull, - maxCols: 100 + maxCols: process.stdout.columns || 100 }).execute(context) } }