Skip to content

Commit 72a18ee

Browse files
authored
Actually use the calculated window width (#5422)
1 parent 35ed43d commit 72a18ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/linter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export default class Linter {
164164
columnify(this.output.summary, {
165165
showHeaders: false,
166166
minWidth: 15,
167+
maxLineWidth: maxColumns,
167168
})
168169
);
169170
out.push('');
@@ -250,6 +251,7 @@ export default class Linter {
250251
columns: outputColumns,
251252
columnSplitter: ' ',
252253
config: outputConfig,
254+
maxLineWidth: maxColumns,
253255
})
254256
);
255257
}

0 commit comments

Comments
 (0)