Skip to content

Commit d1f024a

Browse files
committed
build: fix relative path resolution in clang-tidy script
1 parent a6279bb commit d1f024a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run-clang-tidy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
def find_project_root() -> Path:
2121
"""Find the project root directory by looking for CMakeLists.txt."""
22-
current = Path(__file__).parent
22+
current = Path(__file__).parent.resolve()
2323
while current != current.parent:
2424
if (current / "CMakeLists.txt").exists():
2525
return current

0 commit comments

Comments
 (0)