- Application LifeCycle has now started in Main, not ServiceHub.

This commit is contained in:
vorotamoroz
2026-02-14 15:21:00 +09:00
parent fb59c4a723
commit 6e9ac6a9f9
10 changed files with 34 additions and 26 deletions

View File

@@ -78,7 +78,7 @@ export class ModuleInitializerFile extends AbstractModule {
const _filesStorage = [] as typeof filesStorageSrc;
for (const f of filesStorageSrc) {
if (await this.services.vault.isTargetFile(f.path, f != filesStorageSrc[0])) {
if (await this.services.vault.isTargetFile(f.path)) {
_filesStorage.push(f);
}
}
@@ -122,7 +122,7 @@ export class ModuleInitializerFile extends AbstractModule {
);
const path = this.getPath(doc);
if (isValidPath(path) && (await this.services.vault.isTargetFile(path, true))) {
if (isValidPath(path) && (await this.services.vault.isTargetFile(path))) {
if (!isMetaEntry(doc)) {
this._log(`Invalid entry: ${path}`, LOG_LEVEL_INFO);
continue;

View File

@@ -133,7 +133,7 @@ export class ModuleMigration extends AbstractModule {
if (!isValidPath(path)) {
continue;
}
if (!(await this.services.vault.isTargetFile(path, true))) {
if (!(await this.services.vault.isTargetFile(path))) {
continue;
}
if (!isMetaEntry(metaDoc)) {