1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-23 16:13:21 +00:00

Prevent await race condition

This commit is contained in:
Bernd Schoolmann
2025-11-03 15:13:04 +01:00
parent fa7b085a9c
commit 60be9a2e1f
3 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ export class DefaultEncryptedMigrationsSchedulerService
return;
}
if (this.isMigrating || (await this.encryptedMigrator.isRunningMigrations())) {
if (this.isMigrating || this.encryptedMigrator.isRunningMigrations()) {
this.logService.info(
`[EncryptedMigrationsScheduler] Skipping migration check for user ${userId} because migrations are already in progress`,
);