sk- / html-linter

HTML5 Linter based on Google Style Guide
Apache License 2.0
7 stars 6 forks source link

Script should exit with a non zero status on error #10

Closed giacmir closed 8 years ago

giacmir commented 8 years ago

To use this script with CI tools it would be useful if it could exit with a non zero status in case it detects errors.

sk- commented 8 years ago

It does exit with a non-zero code in case of errors. Could you specify which version are you using?

giacmir commented 8 years ago

I confirm this, for me it exits with 0 when errors are present. I'm using version 0.3.0 installed from pip, (shell is zsh, but I don't think it is related).