From 1666b8a098caadf1429cd43b4152012417e70f1b Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Thu, 21 Apr 2022 15:23:06 +0200 Subject: [PATCH] Fix corrupted settings checker --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 163f830..cf2e4f6 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -21,7 +21,7 @@ export async function sleep(ms: number) { } export async function checkIfConfigIsBroken() { - if ((await getConfig("0")) == "d") { + if (await getConfig("0") == "d") { console.log("Detected a corrupted config"); setup(); dialog.showErrorBox(