mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:40:44 +00:00
chore(lint): enable additional cleanup rules
This commit is contained in:
@@ -279,7 +279,7 @@ export function createAcpReplyProjector(params: {
|
||||
if (!(settings.deliveryMode === "final_only" && force)) {
|
||||
return;
|
||||
}
|
||||
for (const entry of pendingToolDeliveries.splice(0, pendingToolDeliveries.length)) {
|
||||
for (const entry of pendingToolDeliveries.splice(0)) {
|
||||
await params.deliver("tool", entry.payload, entry.meta);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -219,7 +219,7 @@ export function scheduleFollowupDrain(
|
||||
enqueuedAt: Date.now(),
|
||||
...routing,
|
||||
});
|
||||
queue.items.splice(0, groupItems.length);
|
||||
queue.items.splice(0);
|
||||
if (pendingSummary) {
|
||||
clearQueueSummaryState(queue);
|
||||
pendingSummary = undefined;
|
||||
|
||||
Reference in New Issue
Block a user