Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
domharrington committed Jun 26, 2019
1 parent 9f447fa commit c208328
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,9 @@ exports.run = function() {
const category = categories[key];
console.log('');
console.log(category.desc);
category.commands
.sort((a, b) => a.weight > b.weight)
.forEach(command => {
console.log(command.text);
});
category.commands.sort((a, b) => a.weight > b.weight).forEach(command => {
console.log(command.text);
});
});

console.log('');
Expand Down

0 comments on commit c208328

Please sign in to comment.