Skip to content

Commit 5f33447

Browse files
curbenghSukkaW
authored andcommittedSep 22, 2019
fix(console): formatting output (#111)
1 parent da3b091 commit 5f33447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/console/help.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function printList(title, list) {
9595
for (let i = 0; i < length; i++) {
9696
const { description = list[i].desc } = list[i];
9797
const pad = ' '.repeat(maxLen - lengths[i] + 2);
98-
str += ` ${chalk.bold(list[i].name)}${pad}${description}`;
98+
str += ` ${chalk.bold(list[i].name)}${pad}${description}\n`;
9999
}
100100

101101
console.log(str);

0 commit comments

Comments
 (0)
Please sign in to comment.