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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user