We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50090c7 commit e3315a3Copy full SHA for e3315a3
1 file changed
check-links.py
@@ -12,7 +12,7 @@
12
13
broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200]
14
# It seems that Twitter and stackoverflow do not respond well to the link checker and throws a 400
15
-broken_links = [b for b in broken_links if not ('twitter.com' in b or 'stackoverflow.com' in b)]
+broken_links = [b for b in broken_links if not ('twitter.com' in b[0] or 'stackoverflow.com' in b[0])]
16
17
if len(broken_links) == 0:
18
sys.exit(0)
0 commit comments