diff --git a/.yarnrc b/.yarnrc new file mode 100644 index 000000000..0f9fcfce5 --- /dev/null +++ b/.yarnrc @@ -0,0 +1 @@ +--exact true diff --git a/lib/routes/bilibili/utils.js b/lib/routes/bilibili/utils.js index 71deafff9..6c5b7dcac 100644 --- a/lib/routes/bilibili/utils.js +++ b/lib/routes/bilibili/utils.js @@ -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));