Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Added "force" option to allow to continue running Grunt in the event of failures - #40

Open
andrewholgate wants to merge 1 commit into
SaschaGalley:masterfrom
andrewholgate:master
Open

Added "force" option to allow to continue running Grunt in the event of failures#40
andrewholgate wants to merge 1 commit into
SaschaGalley:masterfrom
andrewholgate:master

Conversation

@andrewholgate

Copy link
Copy Markdown
  • Added "force" option to allow to continue running Grunt in the event of failures.
  • Removed empty spaces.

@grayside

Copy link
Copy Markdown
Contributor
  1. Sending the error object to done() is potentially useful for troubleshooting. Maybe it could be conditionally set? E.g. options.force ? done() : done(error);
  2. In 0.3.0 there was an ignoreExitCode, for backwards compatibility it would be great to support that.

@grayside

Copy link
Copy Markdown
Contributor

Recently came across https://www.npmjs.com/package/grunt-force-task, which might prove a general workaround that keeps grunt-phpcs slightly simpler.

@gwagroves

Copy link
Copy Markdown

@grayside Might be a good idea to mention the grunt-force-task workaround in the README.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants