From d0a5326bd765cc1153259bdc5f75ff02e490a6e7 Mon Sep 17 00:00:00 2001 From: Hinton Date: Tue, 22 Dec 2020 17:16:12 +0100 Subject: [PATCH] Fix linting errors --- src/app/accounts/settings.component.ts | 4 ++-- src/proxy/nativemessage.ts | 2 +- src/services/nativeMessaging.service.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/accounts/settings.component.ts b/src/app/accounts/settings.component.ts index 26e1137d..c1b35241 100644 --- a/src/app/accounts/settings.component.ts +++ b/src/app/accounts/settings.component.ts @@ -350,12 +350,12 @@ export class SettingsComponent implements OnInit { } async saveBrowserIntegration() { - if (process.platform ==='darwin' && !this.platformUtilsService.isMacAppStore()) { + if (process.platform === 'darwin' && !this.platformUtilsService.isMacAppStore()) { await this.platformUtilsService.showDialog( this.i18nService.t('browserIntegrationMasOnlyDesc'), this.i18nService.t('browserIntegrationMasOnlyTitle'), this.i18nService.t('ok'), null, 'warning'); - + this.enableBrowserIntegration = false; return; } diff --git a/src/proxy/nativemessage.ts b/src/proxy/nativemessage.ts index 6bc54882..b7c06b56 100644 --- a/src/proxy/nativemessage.ts +++ b/src/proxy/nativemessage.ts @@ -85,7 +85,7 @@ export default class NativeMessage { try { processData(); - } catch(e) { + } catch (e) { console.error(e); } }); diff --git a/src/services/nativeMessaging.service.ts b/src/services/nativeMessaging.service.ts index ba676a85..1b45ba27 100644 --- a/src/services/nativeMessaging.service.ts +++ b/src/services/nativeMessaging.service.ts @@ -59,7 +59,7 @@ export class NativeMessagingService { return; } } - + this.secureCommunication(remotePublicKey, appId); return; }