Skip to content

Commit ae5672b

Browse files
committed
Remove hardcoded part from finder logic
1 parent 524f534 commit ae5672b

File tree

1 file changed

+1
-1
lines changed
  • packages/griffelib/src/griffe/_internal

1 file changed

+1
-1
lines changed

packages/griffelib/src/griffe/_internal/finder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def _handle_editable_module(path: Path) -> list[_SP]:
508508
and node.value.func.id == "install"
509509
and isinstance(node.value.args[1], ast.Constant)
510510
):
511-
build_path = Path(node.value.args[1].value, "packages/griffelib/src") # type: ignore[arg-type]
511+
build_path = Path(node.value.args[1].value, "src") # type: ignore[arg-type]
512512
# NOTE: What if there are multiple packages?
513513
pkg_name = next(build_path.iterdir()).name
514514
return [_SP(build_path, always_scan_for=pkg_name)]

0 commit comments

Comments
 (0)