From e956c6b994de551f8e4ba9b2988e76eadf1aeaca Mon Sep 17 00:00:00 2001 From: Indexyz Date: Mon, 3 Sep 2018 02:33:23 +0800 Subject: [PATCH] ref: prettier fix --- docs/README.md | 2 +- routes/curseforge/files.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 26b7391ece..20a21e9a53 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2599,4 +2599,4 @@ GitHub 官方也提供了一些 RSS: 参数: -- project: 项目的短名或者 `Project ID`. 项目的短名可以在地址栏获取到, 例如地址为 `https://minecraft.curseforge.com/projects/non-update`, 短名就为 `non-update`. `Project ID` 可在 `Overview` 中的 `About This Project` 中找到 +- project: 项目的短名或者 `Project ID`. 项目的短名可以在地址栏获取到, 例如地址为 `https://minecraft.curseforge.com/projects/non-update`, 短名就为 `non-update`. `Project ID` 可在 `Overview` 中的 `About This Project` 中找到 diff --git a/routes/curseforge/files.js b/routes/curseforge/files.js index 3b4a61e99e..be91779b8a 100644 --- a/routes/curseforge/files.js +++ b/routes/curseforge/files.js @@ -10,7 +10,8 @@ module.exports = async (ctx) => { const { data } = projectFilesReq; const $ = cheerio.load(data); const projectName = $('.project-title span').text(); - const reqs = $('.project-file-name-container > a').get() + const reqs = $('.project-file-name-container > a') + .get() .map(async (item) => { const el = $(item); const document = {};