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.
stoponerror
stops the validation of additional filesfailHard
stops any further grunt tasks from executingGiven both
stoponerror
andfailHard
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 executedActual: I see the error output for the first file But additional grunt tasks continue executing.
It appears that the presence of
stoponerror=true
breaks thefailHard
behavior.