This commit is contained in:
Dragon Fire
2020-01-14 22:16:14 -05:00
parent 8584b7f63c
commit 9bf42a2167
+1 -1
View File
@@ -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})`;