chore: fix lint warnings

This commit is contained in:
Peter Steinberger committed 2026-01-06 05:41:24 +01:00
1 parent 77789cb9a8
commit ea6ee16461
4 files changed
+25 -15

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ export function applyMessageDefaults(cfg: ClawdbotConfig): ClawdbotConfig {
if (hasAckReaction && hasAckScope) return cfg;
const fallbackEmoji = cfg.identity?.emoji?.trim() || "👀";
const nextMessages = { ...(messages ?? {}) };
const nextMessages = messages ? { ...messages } : {};
let mutated = false;
if (!hasAckReaction) {