mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix: recursive with omitted join clauses
This commit is contained in:
@@ -70,8 +70,9 @@ switch (dbType) {
|
||||
if (example) {
|
||||
const name = slugify(example);
|
||||
configPath = `.configs/${slugify(example)}.wrangler.json`;
|
||||
const exists = await readFile(configPath, "utf-8");
|
||||
if (!exists) {
|
||||
try {
|
||||
await readFile(configPath, "utf-8");
|
||||
} catch (_e) {
|
||||
wranglerConfig.name = name;
|
||||
wranglerConfig.d1_databases[0]!.database_name = name;
|
||||
wranglerConfig.d1_databases[0]!.database_id = crypto.randomUUID();
|
||||
|
||||
Reference in New Issue
Block a user