mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 21:40:49 +02:00
Fix Lint
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = class GenerateCreditCommand extends Command {
|
||||
});
|
||||
}
|
||||
}
|
||||
credit = credit.sort((a, b) => (a.name > b.name) ? 1 : -1);
|
||||
credit = credit.sort((a, b) => a.name > b.name ? 1 : -1);
|
||||
const mapped = credit
|
||||
.map(c => `- [${c.name}](${c.url})\n${c.commands.map(cmd => {
|
||||
if (!cmd.reasonURL) return ` * ${cmd.name} (${cmd.reason})`;
|
||||
|
||||
Reference in New Issue
Block a user