sync
parent
68bd16df69
commit
0d9ca0ea31
|
|
@ -88,6 +88,7 @@ export namespace ModelsDev {
|
|||
const file = Bun.file(filepath)
|
||||
const result = await file.json().catch(() => {})
|
||||
if (result) return result
|
||||
// @ts-ignore
|
||||
const snapshot = await import("./models-snapshot")
|
||||
.then((m) => m.snapshot as Record<string, unknown>)
|
||||
.catch(() => undefined)
|
||||
|
|
|
|||
Loading…
Reference in New Issue