Skip to content

Commit 6596e8b

Browse files
committed
added logging
1 parent cb3ffde commit 6596e8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sphinx_codelinks/analyse/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def locate_git_root(src_dir: Path) -> Path | None:
134134
for parent in parents:
135135
if (parent / ".git").exists() and (parent / ".git").is_dir():
136136
return parent
137+
logger.warning(f"git root is not found in the parent of {src_dir}")
137138
return None
138139

139140

0 commit comments

Comments
 (0)