style: auto format

This commit is contained in:
github-actions[bot] 2022-12-03 18:11:19 +00:00
parent 106a052404
commit 048db48553
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ module.exports = async (ctx) => {
date: $el.children().first().find('small').children().remove().end().text().slice(3),
};
});
const finalLatestReplies = (latestReplies.concat(latestSubReplies))
.sort((a, b) => a.id < b.id ? 1 : -1);
const finalLatestReplies = latestReplies.concat(latestSubReplies).sort((a, b) => (a.id < b.id ? 1 : -1));
const postTopic = {
title,