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

check-html-links returns exit code 0 even when broken links are found #166

Open
d3mondev opened this issue Jun 24, 2021 · 0 comments
Open

Comments

@d3mondev
Copy link

d3mondev commented Jun 24, 2021

Hello,

Since version 0.2.0, check-html-links is not returning an exit code 1 when broken links are found. This is working properly in 0.1.2.

Repro steps assuming _site has broken links:

$ npx check-html-links _site >/dev/null 2>&1 ; echo $?
0
$ npx [email protected] _site >/dev/null 2>&1 ; echo $?
1

Thanks

@d3mondev d3mondev changed the title check-html-links returning exit code 0 even when broken links are found check-html-links returns exit code 0 even when broken links are found Jun 25, 2021
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

1 participant