ref: prettier fix

This commit is contained in:
Indexyz
2018-09-03 02:33:23 +08:00
parent 365f9fbca0
commit e956c6b994
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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` 中找到
+2 -1
View File
@@ -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 = {};