mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 13:41:24 +00:00
chore: Enable typescript/no-explicit-any rule.
This commit is contained in:
@@ -100,7 +100,6 @@ export function allocateColor(usedColors: Set<string>): string {
|
||||
}
|
||||
// All colors used, cycle based on count
|
||||
const index = usedColors.size % PROFILE_COLORS.length;
|
||||
// biome-ignore lint/style/noNonNullAssertion: Array is non-empty constant
|
||||
return PROFILE_COLORS[index] ?? PROFILE_COLORS[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user