Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Bot thinks *.min.js is a binary file #3

Closed
nolanlawson opened this issue May 1, 2014 · 2 comments
Closed

Bot thinks *.min.js is a binary file #3

nolanlawson opened this issue May 1, 2014 · 2 comments

Comments

@nolanlawson
Copy link

See jsdelivr/jsdelivr#737. That file is definitely a text file.

@megawac
Copy link
Contributor

megawac commented May 1, 2014

Odd, lib-magic (using a python wrapper) also thinks that file is a binary file.

I can fix it for #737 by only checking a smaller block instead of the entire file buffer

@megawac megawac closed this as completed in 801c890 May 1, 2014
@nolanlawson
Copy link
Author

Awesome, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants