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

cannot infer mimetype from extension , set --type explicitly #675

Closed
fekir opened this issue Mar 3, 2024 · 1 comment
Closed

cannot infer mimetype from extension , set --type explicitly #675

fekir opened this issue Mar 3, 2024 · 1 comment

Comments

@fekir
Copy link

fekir commented Mar 3, 2024

> ./minify --type xml feed.atom.tmp > feed.atom      
ERROR: cannot infer mimetype from extension in feed.atom.tmp, set --type explicitly
> ./minify --version
minify v2.20.18

It seems that the parameter --type is ignored

I know it worked before, unfortunately I do not know anymore which version I had

@tdewolff
Copy link
Owner

tdewolff commented Mar 3, 2024

Thanks for raising this, I've fixed it on master.

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

No branches or pull requests

2 participants