From 6ad86c9142ab232eb680da931b86b83ec6b2ad1b Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Tue, 11 Jul 2023 19:10:15 +0800 Subject: [PATCH] Update sendNotify.js --- sendNotify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendNotify.js b/sendNotify.js index ceb836d..8549322 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -250,7 +250,7 @@ async function sendNotify( if (type !== pushType[2]) { //判断数组长度 if (checkSmallfawnPush(process.env[type]).length == 0) { - console.log(`通知变量[${type}] 无变量值 默认形式发送 脚本名字[${text}] 如果需要请填写脚本名字到通知变量 @或&或#为 分隔符`); + console.log(`通知变量[${type}] 无变量值 默认形式发送 脚本名字[${text}]\n如果需要请填写脚本名字到通知变量 @或&或#为 分隔符`); await push() } else { //判断黑白名单模式 @@ -274,7 +274,7 @@ async function sendNotify( } } else { console.log(`无黑白名单变量 默认形式发送 脚本名字[${text}]`); - console.log(`如需配置通知黑白名单请在env或配置文件 添加白名单 ${pushType[0]} 或 黑名单 ${pushType[1]} 二选一 @或&或#为 分隔符 填写脚本名字`); + console.log(`如需配置通知黑白名单请在环境变量或配置文件 添加变量白名单 ${pushType[0]} 或 黑名单 ${pushType[1]}二选一 @或&或#为 分隔符 填写脚本名字`); await push() }