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

"Check" Mode #7

Open
t-rad679 opened this issue Dec 11, 2019 · 0 comments
Open

"Check" Mode #7

t-rad679 opened this issue Dec 11, 2019 · 0 comments

Comments

@t-rad679
Copy link

Imaginemin currently only performs fixes...this is unusable for automated presubmit (pre-merge) checks. Although I am admittedly not very good with JS, I get the impression it would be pretty straightforward to add a parameter-controlled mode that compares the result of compression to the original file instead of writing to it. If the two are different, it would simply return in error.

If I find time, I will make the change and create a pull request. Allow me to reiterate, though, that I am inexperienced with JS and my implementation is likely to be ugly.

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

1 participant