You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/tasks/coreping/coreping.ts
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,9 @@ if (import.meta.main) {
111
111
// Designed to be mon to sat, TIME CHECKING
112
112
// Pacific Daylight Time
113
113
114
+
// drop everytime since outdated data is useless, we kept lastSlackmessage in Meta collection which is enough
115
+
awaitComfyCorePRs.drop();
116
+
114
117
console.log("start",import.meta.file);
115
118
letfreshCount=0;
116
119
@@ -240,7 +243,7 @@ if (import.meta.main) {
240
243
constfreshMsg=!freshCorePRs.length
241
244
? ""
242
245
: `and there are ${freshCorePRs.length} more fresh Core/Core-Important PRs.\n`;
243
-
constnotifyMessage=`Hey <@comfy>, Here's x${staleCorePRs.length} Core/Important PRs waiting your feedback!\n\n${staleCorePRsMessage}\n${freshMsg}\nSent from <CorePing> by <@snomiao> cc <@Yoland>`;
246
+
constnotifyMessage=`Hey <@comfy>, Here's x${staleCorePRs.length} Core/Important PRs waiting your feedback!\n\n${staleCorePRsMessage}\n${freshMsg}\nSent from CorePing.ts by <@snomiao> cc <@yoland>`;
244
247
console.log(chalk.bgBlue(notifyMessage));
245
248
246
249
// TODO: update message with delete line when it's reviewed
0 commit comments