We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29aa904 commit 46f8b15Copy full SHA for 46f8b15
check_links.py
@@ -17,7 +17,7 @@ def remove_duplicates(urls):
17
return list(set(urls))
18
19
20
-def get_test_from_file(file):
+def get_text_from_file(file):
21
# Assume the local file has been checked out in the action
22
try:
23
with open('./' + file) as f:
@@ -39,7 +39,7 @@ def get_test_from_file(file):
39
40
for file in files:
41
42
- text = get_test_from_file(file)
+ text = get_text_from_file(file)
43
44
extractor = URLExtract()
45
file_links = extractor.find_urls(text)
@@ -83,4 +83,4 @@ def get_test_from_file(file):
83
# Newline to separate URLs from different files
84
print()
85
86
-exit(exit_status)
+exit(exit_status)
0 commit comments