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 89fb0e0 commit 191e0ceCopy full SHA for 191e0ce
packages/node/src/db/BetterSQLite3DBAdapter.ts
@@ -67,10 +67,6 @@ export class BetterSQLite3DBAdapter extends BaseObserver<DBAdapterListener> impl
67
throw new Error(`The dbLocation directory at "${this.options.dbLocation}" does not exist. Please create it before opening the PowerSync database!`);
68
}
69
70
- // SQLite reports a misuse error when the target directory of the database doesn't exist,
71
- // so create it now before we access the database.
72
- await fs.mkdir(this.options.dbLocation, { recursive: true });
73
-
74
dbFilePath = path.join(this.options.dbLocation, dbFilePath);
75
76
0 commit comments