From f306ee21668487510a22d8e1566b7f924522b1b7 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 1 Sep 2023 07:30:56 -0400 Subject: [PATCH] style: format --- src/service/registry.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/service/registry.ts b/src/service/registry.ts index 94378a9..95aca55 100644 --- a/src/service/registry.ts +++ b/src/service/registry.ts @@ -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}`);