Skip to content

fix: lint-staged error - #617

Merged
tibo-openai merged 1 commit into
openai:mainfrom
LuciNyan:fix-lint-stage
Apr 24, 2025
Merged

tibo-openai merged 1 commit into
openai:mainfrom
LuciNyan:fix-lint-stage

Conversation

@LuciNyan

@LuciNyan LuciNyan commented Apr 24, 2025 •

Copy link
Copy Markdown
Contributor

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

@LuciNyan LuciNyan mentioned this pull request Apr 24, 2025
@tibo-openai

Copy link
Copy Markdown
Collaborator

ty!

@tibo-openai
tibo-openai merged commit 257167a into openai:main Apr 24, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 24, 2025
@LuciNyan
LuciNyan deleted the fix-lint-stage branch April 25, 2025 02:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type Errors During lint-staged Phase on Commit

2 participants