eddies / stylelint-junit-formatter

Output Checkstyle XML reports of stylelint results
MIT License
6 stars 8 forks source link

testsuite only rendered if there is at least one error #10

Open masi opened 4 years ago

masi commented 4 years ago

I expected to see a testcase for errors and warnings. But the check for testSuite.errored is only true for errors. This means warnings are suppressed unless errors are present.

In a local copy I have replaced the condition to testSuite.warnings.length.

Masi