mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-14 04:50:50 +08:00
Address code review feedback - improve null checks
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
co-authored by
whyour
parent
1124040eeb
commit
a56f2393a4
@@ -143,7 +143,9 @@ export default async () => {
|
||||
continue;
|
||||
}
|
||||
// 收集需要重置的任务 ID
|
||||
idsToReset.push(cron.id!);
|
||||
if (cron.id) {
|
||||
idsToReset.push(cron.id);
|
||||
}
|
||||
}
|
||||
|
||||
// 批量更新所有需要重置的任务
|
||||
|
||||
Reference in New Issue
Block a user