sync
This commit is contained in:
@@ -88,6 +88,7 @@ export namespace ModelsDev {
|
|||||||
const file = Bun.file(filepath)
|
const file = Bun.file(filepath)
|
||||||
const result = await file.json().catch(() => {})
|
const result = await file.json().catch(() => {})
|
||||||
if (result) return result
|
if (result) return result
|
||||||
|
// @ts-ignore
|
||||||
const snapshot = await import("./models-snapshot")
|
const snapshot = await import("./models-snapshot")
|
||||||
.then((m) => m.snapshot as Record<string, unknown>)
|
.then((m) => m.snapshot as Record<string, unknown>)
|
||||||
.catch(() => undefined)
|
.catch(() => undefined)
|
||||||
|
|||||||
Reference in New Issue
Block a user