Skip to content

Commit 041c567

Browse files
committed
Localized find_project_root() import
1 parent 0747dbc commit 041c567

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • find-project-root/src/find_project_root/cli/lib

find-project-root/src/find_project_root/cli/lib/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def cli() -> sn:
1616
def config_file(cli: sn) -> None: # for --init
1717

1818
# Init target_path
19-
import find_project_root
19+
from ...api import find_project_root
2020
project_root = find_project_root(max_depth=20) # type: ignore
2121
if project_root:
2222
config_dir, in_project_root = Path(project_root), True

0 commit comments

Comments
 (0)