Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Apr 11, 2024
1 parent 8542ce2 commit b333b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vector/platform/WebPlatform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
Expand Down

0 comments on commit b333b29

Please sign in to comment.