From 3bb7104f7f1b39de4352e856c164e59c63c5dda7 Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Tue, 11 Jul 2023 17:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sendNotify.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sendNotify.js b/sendNotify.js index ec9bdd2..006b060 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -250,30 +250,30 @@ async function sendNotify( if (type !== pushType[2]) { //判断数组长度 if (checkSmallfawnPush(process.env[type]).length == 0) { - console.log(`[${type}]长度为0 默认形式发送`); + console.log(`[${type}]长度为0 默认形式发送 [${text}]`); await push() } else { //判断黑白名单模式 if (type == pushType[0]) { console.log(`通知变量为白名单模式`); if (checkSmallfawnPush(process.env[pushType[0]]).includes(text)) { - console.log(`根据[${type}]变量来选择通知`); + console.log(`根据[${type}]变量来选择通知 [${text}]`); await push(); } else { - console.log(`[${type}]未含有该脚本的env名字,不通知`) + console.log(`[${type}]未含有该脚本的env名字 [${text}],不通知`) } } else if (type == pushType[1]) { console.log(`通知变量为黑名单模式`); if (checkSmallfawnPush(process.env[pushType[1]]).includes(text)) { - console.log(`根据[${type}]变量来选择不通知`); + console.log(`根据[${type}]变量来选择不通知 [${text}]`); await push(); } else { - console.log(`[${type}]未含有该脚本的env名字,通知`) + console.log(`[${type}]未含有该脚本的env名字 [${text}],通知`) } } } } else { - console.log(`不启动黑白名单模式 启动默认形式发送`); + console.log(`不启动黑白名单模式 启动默认形式发送 [${text}]`); await push() }