Skip to content

Commit

Permalink
👌 IMPROVE: warning link handling
Browse files Browse the repository at this point in the history
  • Loading branch information
TechWiz-3 committed Jul 31, 2022
1 parent 2d7797b commit e5dc2e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def scan_links(links, verbose=False):
print("\n==== Links with non-definitive status codes ====")
for file, line, link in warning_links:
print(f"In {file} on line {line}, link: {link}")
print("Links that you have verified are OK can be whitelisted in the workflow file")
print("\n==== Failed links ====")
for file, line, link in bad_links:
print(f"In {file} on line {line}, link: {link}")
Expand All @@ -60,6 +61,7 @@ def scan_links(links, verbose=False):
print("\n==== Links with non-definitive status codes ====")
for file, line, link in warning_links:
print(f"In {file} on line {line}, link: {link}")
print("Links that you have verified are OK can be whitelisted in the workflow file")
print("Otherwise, all links correct - test passed")
else:
print("All links correct - test passed")

0 comments on commit e5dc2e4

Please sign in to comment.