We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa8da9 commit f16e16fCopy full SHA for f16e16f
lib/code-excerpt.js
@@ -19,7 +19,7 @@ module.exports = (file, line, options) => {
19
20
const lines = excerpt.map(item => ({
21
line: item.line,
22
- value: truncate(item.value, maxWidth - String(line).length - 1)
+ value: truncate(item.value, maxWidth - String(line).length - 5)
23
}));
24
25
const joinedLines = lines.map(line => line.value).join('\n');
0 commit comments