mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 05:47:39 +00:00
style(sandbox): fix linting errors
- Remove unused normalizeOptions function - Fix line length violations (format long lines) - Fix import order (alphabetical) - Format function signatures for readability All lint checks now passing.
This commit is contained in:
committed by
Peter Steinberger
parent
b0c97d6178
commit
7f02b62bba
@@ -40,10 +40,14 @@ export type ContainerItem = {
|
||||
lastUsedAtMs: number;
|
||||
};
|
||||
|
||||
export function countRunning<T extends { running: boolean }>(items: T[]): number {
|
||||
export function countRunning<T extends { running: boolean }>(
|
||||
items: T[],
|
||||
): number {
|
||||
return items.filter((item) => item.running).length;
|
||||
}
|
||||
|
||||
export function countMismatches<T extends { imageMatch: boolean }>(items: T[]): number {
|
||||
export function countMismatches<T extends { imageMatch: boolean }>(
|
||||
items: T[],
|
||||
): number {
|
||||
return items.filter((item) => !item.imageMatch).length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user