style: biome formatting

This commit is contained in:
Peter Steinberger
2026-01-01 15:31:36 +00:00
parent 596770942a
commit 09a2ab420b
8 changed files with 51 additions and 59 deletions

View File

@@ -223,9 +223,7 @@ export function resolveSkillConfig(
function normalizeAllowlist(input: unknown): string[] | undefined {
if (!input) return undefined;
if (!Array.isArray(input)) return undefined;
const normalized = input
.map((entry) => String(entry).trim())
.filter(Boolean);
const normalized = input.map((entry) => String(entry).trim()).filter(Boolean);
return normalized.length > 0 ? normalized : undefined;
}