From 8af12722f3052802c341f8defdef4113f6ce1200 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 24 Jan 2022 15:41:28 -0500 Subject: [PATCH] fix lint Signed-off-by: Sebastian Malton --- src/main/cluster-detectors/detector-registry.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/cluster-detectors/detector-registry.ts b/src/main/cluster-detectors/detector-registry.ts index 2d4bd25493e3..cdd0eab4ceef 100644 --- a/src/main/cluster-detectors/detector-registry.ts +++ b/src/main/cluster-detectors/detector-registry.ts @@ -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], ), );