We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2bcb3 commit bf73fe4Copy full SHA for bf73fe4
packages/engine-server/src/DendronEngineV3.ts
@@ -1003,10 +1003,12 @@ export class DendronEngineV3 extends EngineV3Base implements DEngine {
1003
numEntries: _.size(notesById),
1004
numCacheUpdates: notesCache.numCacheMisses,
1005
});
1006
- if (!(await SQLiteMetadataStore.isVaultInitialized(vault))) {
1007
- await SQLiteMetadataStore.prisma().dVault.create({
1008
- data: { fsPath: vault.fsPath, wsRoot: this.wsRoot },
1009
- });
+ if (enableSQLITE) {
+ if (!(await SQLiteMetadataStore.isVaultInitialized(vault))) {
+ await SQLiteMetadataStore.prisma().dVault.create({
+ data: { fsPath: vault.fsPath, wsRoot: this.wsRoot },
1010
+ });
1011
+ }
1012
}
1013
return notesById;
1014
0 commit comments