1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02: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() { async saveBrowserIntegration() {
if (process.platform ==='darwin' && !this.platformUtilsService.isMacAppStore()) { if (process.platform === 'darwin' && !this.platformUtilsService.isMacAppStore()) {
await this.platformUtilsService.showDialog( await this.platformUtilsService.showDialog(
this.i18nService.t('browserIntegrationMasOnlyDesc'), this.i18nService.t('browserIntegrationMasOnlyDesc'),
this.i18nService.t('browserIntegrationMasOnlyTitle'), this.i18nService.t('browserIntegrationMasOnlyTitle'),
this.i18nService.t('ok'), null, 'warning'); this.i18nService.t('ok'), null, 'warning');
this.enableBrowserIntegration = false; this.enableBrowserIntegration = false;
return; return;
} }

View File

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

View File

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