chore: fix lint warnings

This commit is contained in:
Peter Steinberger
2026-01-01 21:25:29 +01:00
parent c7364de2f0
commit 4c1424bb83
6 changed files with 14 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ function upsertSkillEntry(
skillKey: string,
patch: { apiKey?: string },
): ClawdisConfig {
const entries = { ...(cfg.skills?.entries ?? {}) };
const entries = { ...cfg.skills?.entries };
const existing = (entries[skillKey] as { apiKey?: string } | undefined) ?? {};
entries[skillKey] = { ...existing, ...patch };
return {