Fix broken url not reporting error

Some links are printed as broken but do not error out the build.

This issue appeared when include `tel:` links in our build.
This commit is contained in:
Vasista Vovveti 2020-10-20 12:43:10 -05:00 committed by GitHub
parent 3b1c48f3b6
commit 72985c250b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,6 +226,7 @@ class CheckExternalLinksBuilder(Builder):
if rex.match(uri):
return 'ignored', '', 0
else:
self.broken[uri] = ''
return 'broken', '', 0
elif uri in self.good:
return 'working', 'old', 0