Skip to content

Commit 843bbc9

Browse files
committed
wip: zen
1 parent 173804c commit 843bbc9

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

packages/console/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"db": "sst shell drizzle-kit",
2626
"db-dev": "sst shell --stage dev -- drizzle-kit",
2727
"db-prod": "sst shell --stage production -- drizzle-kit",
28-
"shell": "sst shell -- bun",
29-
"shell-dev": "sst shell --stage dev -- bun",
30-
"shell-prod": "sst shell --stage production -- bun",
28+
"shell": "sst shell",
29+
"shell-dev": "sst shell --stage dev",
30+
"shell-prod": "sst shell --stage production",
3131
"update-models": "script/update-models.ts",
3232
"promote-models-to-dev": "script/promote-models.ts dev",
3333
"promote-models-to-prod": "script/promote-models.ts production",

packages/console/core/script/update-models.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ const oldValues = Array.from({ length: PARTS }, (_, i) => {
1717
?.split("=")
1818
.slice(1)
1919
.join("=")
20-
// TODO
21-
//if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`)
22-
//return value
23-
return value ?? ""
20+
if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`)
21+
return value
2422
})
2523

2624
// store the prettified json to a temp file

0 commit comments

Comments
 (0)