From aecce02dd1c1bc8163f3280a0980b2271eb8e397 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Tue, 11 Jul 2023 18:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sendNotify.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sendNotify.js b/sendNotify.js index e0ad737..c6f8ad8 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -265,10 +265,10 @@ async function sendNotify( } else if (type == pushType[1]) { console.log(`通知变量为黑名单模式`); if (checkSmallfawnPush(process.env[pushType[1]]).includes(text)) { - console.log(`[${text}] 在 [${type}] 变量中 => 通知`); - await push(); + console.log(`[${text}] 在 [${type}] 变量中 => 不通知`); } else { - console.log(`[${text}] 不在 [${type}] 变量中 => 不通知`) + console.log(`[${text}] 不在 [${type}] 变量中 => 通知`) + await push(); } } }