Update TypeScript to 4.4.2

This commit is contained in:
Fedor Indutny 2021-08-27 13:21:42 -07:00 committed by GitHub
parent 853e27e9eb
commit a43abe628a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 462 deletions

View file

@ -1,7 +1,7 @@
// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { get as getFromConfig } from 'config';
import config from 'config';
import { BrowserWindow } from 'electron';
import { UpdaterInterface } from './common';
@ -57,8 +57,6 @@ export async function force(): Promise<void> {
function autoUpdateDisabled() {
return (
process.platform === 'linux' ||
process.mas ||
!getFromConfig('updatesEnabled')
process.platform === 'linux' || process.mas || !config.get('updatesEnabled')
);
}