wip: zen
This commit is contained in:
@@ -25,9 +25,9 @@
|
|||||||
"db": "sst shell drizzle-kit",
|
"db": "sst shell drizzle-kit",
|
||||||
"db-dev": "sst shell --stage dev -- drizzle-kit",
|
"db-dev": "sst shell --stage dev -- drizzle-kit",
|
||||||
"db-prod": "sst shell --stage production -- drizzle-kit",
|
"db-prod": "sst shell --stage production -- drizzle-kit",
|
||||||
"shell": "sst shell -- bun",
|
"shell": "sst shell",
|
||||||
"shell-dev": "sst shell --stage dev -- bun",
|
"shell-dev": "sst shell --stage dev",
|
||||||
"shell-prod": "sst shell --stage production -- bun",
|
"shell-prod": "sst shell --stage production",
|
||||||
"update-models": "script/update-models.ts",
|
"update-models": "script/update-models.ts",
|
||||||
"promote-models-to-dev": "script/promote-models.ts dev",
|
"promote-models-to-dev": "script/promote-models.ts dev",
|
||||||
"promote-models-to-prod": "script/promote-models.ts production",
|
"promote-models-to-prod": "script/promote-models.ts production",
|
||||||
|
|||||||
@@ -17,10 +17,8 @@ const oldValues = Array.from({ length: PARTS }, (_, i) => {
|
|||||||
?.split("=")
|
?.split("=")
|
||||||
.slice(1)
|
.slice(1)
|
||||||
.join("=")
|
.join("=")
|
||||||
// TODO
|
if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`)
|
||||||
//if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`)
|
return value
|
||||||
//return value
|
|
||||||
return value ?? ""
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// store the prettified json to a temp file
|
// store the prettified json to a temp file
|
||||||
|
|||||||
Reference in New Issue
Block a user