Skip to content

Commit e3315a3

Browse files
committed
Fix link filtering
1 parent 50090c7 commit e3315a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

check-links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
broken_links = [(ref.ref, code) for ref, code in zip(refs, status_codes) if code != 200]
1414
# 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)]
15+
broken_links = [b for b in broken_links if not ('twitter.com' in b[0] or 'stackoverflow.com' in b[0])]
1616

1717
if len(broken_links) == 0:
1818
sys.exit(0)

0 commit comments

Comments
 (0)