diff options
| author | Frank <[email protected]> | 2026-02-04 20:56:34 -0500 |
|---|---|---|
| committer | Frank <[email protected]> | 2026-02-04 20:56:38 -0500 |
| commit | 843bbc973a86229fe75a021032b816890342d500 (patch) | |
| tree | 47f1c5f24e91174b5dd5d9508592b75b4abd1dc2 | |
| parent | 173804c097da7b4190944cd0d024e833a8c413a1 (diff) | |
| download | opencode-843bbc973a86229fe75a021032b816890342d500.tar.gz opencode-843bbc973a86229fe75a021032b816890342d500.zip | |
wip: zen
| -rw-r--r-- | packages/console/core/package.json | 6 | ||||
| -rwxr-xr-x | packages/console/core/script/update-models.ts | 6 |
2 files changed, 5 insertions, 7 deletions
diff --git a/packages/console/core/package.json b/packages/console/core/package.json index b6f2a8e90..3f6994701 100644 --- a/packages/console/core/package.json +++ b/packages/console/core/package.json @@ -25,9 +25,9 @@ "db": "sst shell drizzle-kit", "db-dev": "sst shell --stage dev -- drizzle-kit", "db-prod": "sst shell --stage production -- drizzle-kit", - "shell": "sst shell -- bun", - "shell-dev": "sst shell --stage dev -- bun", - "shell-prod": "sst shell --stage production -- bun", + "shell": "sst shell", + "shell-dev": "sst shell --stage dev", + "shell-prod": "sst shell --stage production", "update-models": "script/update-models.ts", "promote-models-to-dev": "script/promote-models.ts dev", "promote-models-to-prod": "script/promote-models.ts production", diff --git a/packages/console/core/script/update-models.ts b/packages/console/core/script/update-models.ts index d37c6a9aa..095c4aba8 100755 --- a/packages/console/core/script/update-models.ts +++ b/packages/console/core/script/update-models.ts @@ -17,10 +17,8 @@ const oldValues = Array.from({ length: PARTS }, (_, i) => { ?.split("=") .slice(1) .join("=") - // TODO - //if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`) - //return value - return value ?? "" + if (!value) throw new Error(`ZEN_MODELS${i + 1} not found`) + return value }) // store the prettified json to a temp file |
