diff --git a/lib/v2/bangumi/tv/group/reply.js b/lib/v2/bangumi/tv/group/reply.js index 999ea5644..2bc84645a 100644 --- a/lib/v2/bangumi/tv/group/reply.js +++ b/lib/v2/bangumi/tv/group/reply.js @@ -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,