Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed Jan 24, 2022
1 parent dec14a7 commit 8af1272
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/cluster-detectors/detector-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ export class DetectorRegistry extends Singleton {
) {
results.set(key, data);
}
} catch {} // ignore errors
} catch {
// ignore errors
}
}

return Object.fromEntries(
iter.map(
Object.entries(results),
results.entries(),
([key, { value }]) => [key, value],
),
);
Expand Down

0 comments on commit 8af1272

Please sign in to comment.