fix: revert sdk generation script change (#23133)

This commit is contained in:
James Long 2026-04-17 13:33:11 -04:00 committed by GitHub
parent a8c78fc005
commit 4c30a78cd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -2,6 +2,4 @@
import { $ } from "bun" import { $ } from "bun"
const dir = Bun.argv[2] ?? "." await $`bun run prettier --ignore-unknown --write .`
await $`bun run prettier --ignore-unknown --write ${dir}`

View file

@ -6,4 +6,4 @@ await $`bun ./packages/sdk/js/script/build.ts`
await $`bun dev generate > ../sdk/openapi.json`.cwd("packages/opencode") await $`bun dev generate > ../sdk/openapi.json`.cwd("packages/opencode")
await $`./script/format.ts ./packages/sdk` await $`./script/format.ts`