We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e47be6 commit 84ced37Copy full SHA for 84ced37
check_links.py
@@ -211,7 +211,7 @@ def main():
211
md_files = []
212
# Use the directory where the script is located as the repository root
213
# This makes the script work from any location
214
- repo_root = os.path.dirname(os.path.abspath(__file__)) or os.getcwd()
+ repo_root = os.path.dirname(os.path.abspath(__file__))
215
216
for root, dirs, files in os.walk(repo_root):
217
# Skip .git directory
0 commit comments