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 3d1bcc3 commit 69dac75Copy full SHA for 69dac75
packages/engine-server/src/DendronEngineV3.ts
@@ -1035,10 +1035,12 @@ export class DendronEngineV3 extends EngineV3Base implements DEngine {
1035
numEntries: _.size(notesById),
1036
numCacheUpdates: notesCache.numCacheMisses,
1037
});
1038
- if (!(await SQLiteMetadataStore.isVaultInitialized(vault))) {
1039
- await SQLiteMetadataStore.prisma().dVault.create({
1040
- data: { fsPath: vault.fsPath, wsRoot: this.wsRoot },
1041
- });
+ if (enableSQLITE) {
+ if (!(await SQLiteMetadataStore.isVaultInitialized(vault))) {
+ await SQLiteMetadataStore.prisma().dVault.create({
+ data: { fsPath: vault.fsPath, wsRoot: this.wsRoot },
1042
+ });
1043
+ }
1044
}
1045
return notesById;
1046
0 commit comments