From 51ac7064e60736bec67038664d430334adf104cc Mon Sep 17 00:00:00 2001 From: amr-crabnebula Date: Fri, 24 Nov 2023 00:58:25 +0200 Subject: [PATCH] fix macOS ? --- bindings/updater/nodejs/__test__/index.spec.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/updater/nodejs/__test__/index.spec.mjs b/bindings/updater/nodejs/__test__/index.spec.mjs index 2bfa6735..8212f8f7 100644 --- a/bindings/updater/nodejs/__test__/index.spec.mjs +++ b/bindings/updater/nodejs/__test__/index.spec.mjs @@ -169,8 +169,8 @@ test("it works", async (t) => { env: { UPDATER_FORMAT: updaterFormat }, }); const version = stdout.split("\n")[0]; - t.is(version, "1.0.0"); - if (version == "1.0.0") { + if (version === "1.0.0") { + t.is(version, "1.0.0"); console.log(`app is updated, new version: ${version}`); break; }