From b333b297d63dae94a4271bd65e3d4c2e375e4b71 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 11 Apr 2024 16:50:58 -0600 Subject: [PATCH] appease linter --- src/vector/platform/WebPlatform.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vector/platform/WebPlatform.ts b/src/vector/platform/WebPlatform.ts index e25c90360e..1fc6d5d9c8 100644 --- a/src/vector/platform/WebPlatform.ts +++ b/src/vector/platform/WebPlatform.ts @@ -51,7 +51,8 @@ export default class WebPlatform extends VectorBasePlatform { // Jest causes `register()` to return undefined, so swallow that case. if (swPromise) { - swPromise.then((r) => r.update()) + swPromise + .then((r) => r.update()) .catch((e) => console.error("Error registering/updating service worker:", e)); } }