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:
1 parent
4e5c5177c8
commit
3ad2f69500
1 file changed
+2
-2
@@ -56,8 +56,6 @@ export abstract class BaseStore<T> extends Singleton {
|
|||||||
cwd: this.cwd(),
|
cwd: this.cwd(),
|
||||||
});
|
});
|
||||||
|
|
||||||
logger.info(`[STORE]: LOADED from ${this.path}`);
|
|
||||||
|
|
||||||
const res: any = this.fromStore(this.storeConfig.store);
|
const res: any = this.fromStore(this.storeConfig.store);
|
||||||
|
|
||||||
if (res instanceof Promise || (typeof res === "object" && res && typeof res.then === "function")) {
|
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();
|
this.enableSync();
|
||||||
|
|
||||||
|
logger.info(`[STORE]: LOADED from ${this.path}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
get name() {
|
get name() {
|
||||||
|
|||||||
Reference in new issue
Block a user