From fc71d9e7af4002561451d473148a301bbaf4abe1 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 22 Aug 2020 20:43:05 +0000 Subject: [PATCH] style: auto format --- lib/routes/segmentfault/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/segmentfault/user.js b/lib/routes/segmentfault/user.js index 68b3f1656..a0320302d 100644 --- a/lib/routes/segmentfault/user.js +++ b/lib/routes/segmentfault/user.js @@ -12,7 +12,7 @@ module.exports = async (ctx) => { const response = await got.get(link); const $ = cheerio.load(response.data); - const channel_name = $('h2.profile__heading--name').text().trim().split(" ")[0]; + const channel_name = $('h2.profile__heading--name').text().trim().split(' ')[0]; const list = $('ul.profile-mine__content li') .slice(0, 10) @@ -87,4 +87,4 @@ module.exports = async (ctx) => { link: link, item: out, }; -}; \ No newline at end of file +};