praveenvijayan / grunt-html-validation

W3C html validaton grunt plugin. Validate all files in a directory automatically.
MIT License
75 stars 39 forks source link

combination of stoponerror and failHard doesn't work as expected #32

Open jasonkarns opened 10 years ago

jasonkarns commented 10 years ago

stoponerror stops the validation of additional files failHard stops any further grunt tasks from executing

Given both stoponerror and failHard are true When multiple files have errors Then I should see the errors output for the first file And no further grunt tasks should be executed

Actual: I see the error output for the first file But additional grunt tasks continue executing.

It appears that the presence of stoponerror=true breaks the failHard behavior.