mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move log to after fromStore
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
4e5c5177c8
commit
3ad2f69500
@ -56,8 +56,6 @@ export abstract class BaseStore<T> 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<T> extends Singleton {
|
||||
}
|
||||
|
||||
this.enableSync();
|
||||
|
||||
logger.info(`[STORE]: LOADED from ${this.path}`);
|
||||
}
|
||||
|
||||
get name() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user