fix: lint-staged error (#617)
## Description In a recent commit, the command `"cd codex-cli && pnpm run typecheck"` was updated to `"pnpm --filter @openai/codex run typecheck"`. However, this change introduces an issue: when running `pnpm --filter @openai/codex run typecheck`, it executes `tsc --noEmit somefile.ts` directly, bypassing the `tsconfig.json` configuration. As a result, numerous type errors are triggered, preventing successful commits. Close: #619
This commit is contained in:
parent
9b102965b9
commit
257167a034
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@
|
|||
".github/workflows/*.yml": "prettier --write",
|
||||
"**/*.{js,ts,tsx}": [
|
||||
"pnpm --filter @openai/codex run lint",
|
||||
"pnpm --filter @openai/codex run typecheck"
|
||||
"cd codex-cli && pnpm run typecheck"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@10.8.1"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue