style: auto format

This commit is contained in:
github-actions[bot]
2023-07-09 15:01:47 +00:00
parent b378116a71
commit 10cd3210fa
+1 -3
View File
@@ -35,11 +35,9 @@ module.exports = async (ctx) => {
const items = await Promise.all(
list.map((item) =>
ctx.cache.tryGet(item.link, async () => {
if (new URL(item.link).hostname === 'mp.weixin.qq.com') {
item.description = (await fetchArticle(ctx, item.link)).description;
}
else {
} else {
const detailResponse = await got({
method: 'get',
url: item.link,