chore: add yarnrc

This commit is contained in:
DIYgod 2019-08-21 11:41:09 +08:00
parent cc29f239d4
commit b2cb149f35
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
2 changed files with 2 additions and 1 deletions

1
.yarnrc Normal file
View File

@ -0,0 +1 @@
--exact true

View File

@ -13,7 +13,7 @@ const ProcessFeed = async (list, caches) =>
list
.filter(async (aid) => {
const data = await caches.tryGet('av' + aid, async () => await load(aid));
return data.code == 0;
return data.code === 0;
})
.map(async (aid) => {
let data = await caches.tryGet('av' + aid, async () => await load(aid));