Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI return value wraps back to 0 #25

Closed
tghs opened this issue Jul 18, 2016 · 0 comments
Closed

CLI return value wraps back to 0 #25

tghs opened this issue Jul 18, 2016 · 0 comments

Comments

@tghs
Copy link
Contributor

tghs commented Jul 18, 2016

The CLI return value indicates the number of validation errors. When it hits 256 errors, it wraps modulo 256 and returns 0, indicating no errors. Patch to follow.

tghs added a commit to tghs/html5validator that referenced this issue Jul 18, 2016
Return codes are modulo 256. Clamp them at 255 to avoid false 0 returns.
Fixes bug svenkreiss#25.
svenkreiss pushed a commit that referenced this issue Jul 18, 2016
Return codes are modulo 256. Clamp them at 255 to avoid false 0 returns.
Fixes bug #25.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants