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

handle minification failure gracefully #519

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thefourtheye
Copy link

Fixes: #409

Whenever the minification of a file fails, the task fails with the
error 'min' is not available in 'undefined'.

This patch allows the task to continue to the next file without
making any changes to the contents of the file in the destination.
Also, this introduces a new configuration option skipErrors, so
that the users can specify that in the task level options to override
the default behaviour.

Fixes: gruntjs#409

Whenever the minification of a file fails, the task fails with the
error 'min' is not available in 'undefined'.

This patch allows the task to continue to the next file without
making any changes to the contents of the file in the destination.
Also, this introduces a new configuration option `skipErrors`, so
that the users can specify that in the task level options to override
the default behaviour.
@jsf-clabot
Copy link

jsf-clabot commented Mar 21, 2018

CLA assistant check
All committers have signed the CLA.

Base automatically changed from master to main March 22, 2021 15:09
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.

The task seems to break whenever a js file has an error. The force flag is unable to proceed it further.
2 participants