1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

Fixed lint warnings (#1655)

This commit is contained in:
Vincent Salucci
2021-03-02 12:31:52 -06:00
committed by GitHub
parent 1a59c542bd
commit 61d7fcfc85
17 changed files with 48 additions and 41 deletions

View File

@@ -16,12 +16,13 @@ export default class VaultTimeoutService extends BaseVaultTimeoutService {
// setIntervals. It works by calling the native extension which sleeps for 10s,
// efficiently replicating setInterval.
async checkSafari() {
while(true) {
while (true) {
try {
await SafariApp.sendMessageToApp('sleep');
this.checkVaultTimeout();
} catch(e) {
console.log("Exception Safari VaultTimeout", e);
} catch (e) {
// tslint:disable-next-line
console.log('Exception Safari VaultTimeout', e);
}
}
}