We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efbdc13 commit 6fc188cCopy full SHA for 6fc188c
src/sagemaker/_studio.py
@@ -65,10 +65,9 @@ def _find_config(working_dir=None):
65
wd = Path(working_dir) if working_dir else Path.cwd()
66
67
path = None
68
-
69
- root = Path(
70
- wd.anchor
71
- ) # Properly get the root of the current working directory for both Windows and Unix-like systems
+
+ # Get the root of the current working directory for both Windows and Unix-like systems
+ root = Path(wd.anchor)
72
while path is None and wd != root:
73
candidate = wd / STUDIO_PROJECT_CONFIG
74
if Path.exists(candidate):
0 commit comments