Fix linting errors

This commit is contained in:
Hinton 2020-12-22 17:16:12 +01:00
parent 76c040aff9
commit d0a5326bd7
3 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -85,7 +85,7 @@ export default class NativeMessage {
try {
processData();
} catch(e) {
} catch (e) {
console.error(e);
}
});

View File

@ -59,7 +59,7 @@ export class NativeMessagingService {
return;
}
}
this.secureCommunication(remotePublicKey, appId);
return;
}