Skip to content

Commit c208328

Browse files
committed
Prettier
1 parent 9f447fa commit c208328

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/help.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,9 @@ exports.run = function() {
5252
const category = categories[key];
5353
console.log('');
5454
console.log(category.desc);
55-
category.commands
56-
.sort((a, b) => a.weight > b.weight)
57-
.forEach(command => {
58-
console.log(command.text);
59-
});
55+
category.commands.sort((a, b) => a.weight > b.weight).forEach(command => {
56+
console.log(command.text);
57+
});
6058
});
6159

6260
console.log('');

0 commit comments

Comments
 (0)