Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix options in combination with function fileTypeStream() #650

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

Borewit
Copy link
Collaborator

@Borewit Borewit commented Jul 30, 2024

When using method fileTypeStream, any options other then the sampleSize was ignored.

This PR correctly passes the options to the NodeFileTypeParser

@Borewit Borewit added the bug label Jul 30, 2024
@Borewit Borewit self-assigned this Jul 30, 2024
@Borewit Borewit changed the title Pass options to NodeFileTypeParser constructor in fileTypeStream Fix options in combination with function fileTypeStream() Jul 30, 2024
@Borewit Borewit force-pushed the fix-passing-options-to-detecting-stream branch from 27d0dba to 590e231 Compare July 30, 2024 20:52
@sindresorhus sindresorhus merged commit bd3b5a4 into main Jul 30, 2024
6 checks passed
@sindresorhus sindresorhus deleted the fix-passing-options-to-detecting-stream branch July 30, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants