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>
This commit is contained in:
Jake Fink 2022-03-24 15:46:24 -04:00 committed by GitHub
parent 535decc3d9
commit 292d5e0039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {