From 4e22ccb2f7ce80ced99cf1cf904fcca3ccb9ad21 Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Sun, 12 Jun 2022 22:24:29 +0100 Subject: [PATCH] chore: duct-tape fix for semver library breaking --- src/updateWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updateWorker.ts b/src/updateWorker.ts index 4976fe0c..b86d52e3 100644 --- a/src/updateWorker.ts +++ b/src/updateWorker.ts @@ -41,7 +41,7 @@ async function checkVersion() { (res) => res.json(), )) as { version: string }; - if (!semver.satisfies(APP_VERSION, version)) { + if (!semver.satisfies(APP_VERSION, version) && APP_VERSION !== version) { // Let the worker know we should immediately refresh forceUpdate = true;