Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ const notify_1 = require("./notify");
yield (0, notify_1.sendNotification)(summaryText);
}
else if (process.env.ENABLE_NOTIFY === 'true') {
console.log('ℹ️ 签到全部成功,跳过通知发送');
yield (0, notify_1.sendNotification)(summaryText);
console.log('ℹ️ 签到全部成功,已发送通知');
}
else {
console.log('ℹ️ 通知功能未启用,跳过通知发送');
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ interface TiebaTrackInfo {
console.log('▶️ 步骤5: 发送通知 (由于签到失败而触发)');
await sendNotification(summaryText);
} else if (process.env.ENABLE_NOTIFY === 'true') {
console.log('ℹ️ 签到全部成功,跳过通知发送');
await sendNotification(summaryText);
console.log('ℹ️ 签到全部成功,已发送通知');
} else {
console.log('ℹ️ 通知功能未启用,跳过通知发送');
}
Expand Down Expand Up @@ -340,4 +341,4 @@ interface TiebaTrackInfo {
console.log(`⏱️ 总执行时间: ${executionTime.toFixed(2)}秒`);
console.log('==========================================');
}
})();
})();