소스 검색

Show number of links with a possible error

pull/3011/head
Matheus Felipe 2 년 전
부모
커밋
50ad807e5c
No known key found for this signature in database GPG 키 ID: AA785C523274872F
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      scripts/validate/links.py

+ 5
- 0
scripts/validate/links.py 파일 보기

@@ -225,6 +225,11 @@ if __name__ == '__main__':

errors = check_if_list_of_links_are_working(links)
if errors:

num_errors = len(errors)
print(f'Apparently {num_errors} links are not working properly. See in:')

for error_message in errors:
print(error_message)

sys.exit(1)

불러오는 중...
취소
저장