Skip to content

fix: add .tsx to explicit text file detection#40

Open
akramcodez wants to merge 1 commit intoblackboxaicode:mainfrom
akramcodez:fix/tsx-file-detection
Open

fix: add .tsx to explicit text file detection#40
akramcodez wants to merge 1 commit intoblackboxaicode:mainfrom
akramcodez:fix/tsx-file-detection

Conversation

@akramcodez
Copy link

Description

This PR adds .tsx to the list of extensions explicitly treated as text in detectFileType. This prevents mime.lookup from misclassifying .tsx files (e.g., as video/mp2t) and ensures consistent text processing. Verified with existing unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant