1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

Merge pull request #623 from Hinton/hotfix/linting

Fix linting errors
This commit is contained in:
Chad Scharf 2020-12-22 11:17:07 -05:00 committed by GitHub
commit a0241b3338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}