From 53465767ac0d32e5154fdceed933dd206bf1b41a Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 2 Feb 2022 14:21:27 +0000 Subject: [PATCH] style: auto format --- lib/v2/leiphone/newsflash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/leiphone/newsflash.js b/lib/v2/leiphone/newsflash.js index e7c9baa24..340b2df97 100644 --- a/lib/v2/leiphone/newsflash.js +++ b/lib/v2/leiphone/newsflash.js @@ -7,7 +7,7 @@ module.exports = async (ctx) => { const res = await got.get(url); const article = (res.data || {}).article || []; - const list = article.map((item) => (item.url)); + const list = article.map((item) => item.url); const items = await utils.ProcessFeed(list, ctx.cache); ctx.state.data = {