From 3ad2f6950036ed9a8857509a17bc88eabff09cb1 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 6 Jul 2021 10:21:38 -0400 Subject: [PATCH] Move log to after fromStore Signed-off-by: Sebastian Malton --- src/common/base-store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/base-store.ts b/src/common/base-store.ts index 00f134b7db..b6c49f6d00 100644 --- a/src/common/base-store.ts +++ b/src/common/base-store.ts @@ -56,8 +56,6 @@ export abstract class BaseStore extends Singleton { cwd: this.cwd(), }); - logger.info(`[STORE]: LOADED from ${this.path}`); - const res: any = this.fromStore(this.storeConfig.store); if (res instanceof Promise || (typeof res === "object" && res && typeof res.then === "function")) { @@ -65,6 +63,8 @@ export abstract class BaseStore extends Singleton { } this.enableSync(); + + logger.info(`[STORE]: LOADED from ${this.path}`); } get name() {