From 292d5e00392f1c82aef62b7aab74712e875b0da3 Mon Sep 17 00:00:00 2001 From: Jake Fink Date: Thu, 24 Mar 2022 15:46:24 -0400 Subject: [PATCH] PS-91 make isMacAppStore return true/false (#735) * return false if undefined from isMacAppStore * PS-91 use strict equality instead of null coalescing Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com> Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com> --- electron/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/src/utils.ts b/electron/src/utils.ts index a29a27a2df..74a4077371 100644 --- a/electron/src/utils.ts +++ b/electron/src/utils.ts @@ -34,7 +34,7 @@ export function isMac() { } export function isMacAppStore() { - return isMac() && process.mas && process.mas === true; + return isMac() && process.mas === true; } export function isWindowsStore() {