style: format

This commit is contained in:
Derrick Hammer 2023-09-01 07:30:56 -04:00
parent 9f8f680948
commit f306ee2166
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -146,7 +146,9 @@ export class RegistryService {
this.logger.verbose(`[registry] get (clean) ${key}`);
for (let i = 0; i < 200; i++) {
await new Promise((resolve) => setTimeout(resolve, 10));
if ((await this.getFromDB(pk)) !== null) break;
if ((await this.getFromDB(pk)) !== null) {
break;
}
}
} else {
this.logger.verbose(`[registry] get (cached) ${key}`);