Skip to content

Commit fe8cf75

Browse files
committed
Fix direct sphinx build.
Signed-off-by: Nicolae Dicu <nicolae.dicu.ext@qorix.ai>
1 parent ce4e816 commit fe8cf75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/score_plantuml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_runfiles_dir() -> Path:
5353
# But we need to find it first.
5454
logger.debug("Running outside bazel.")
5555

56-
git_root = Path(__file__).resolve()
56+
git_root = Path.cwd().resolve()
5757
while not (git_root / ".git").exists():
5858
git_root = git_root.parent
5959
if git_root == Path("/"):

0 commit comments

Comments
 (0)