This commit is contained in:
PrerakPatelCS 2022-11-22 18:23:46 -05:00
parent 56544c11b5
commit 598eea1417
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def determine_setup(
else:
cwd = Path.cwd()
rootdir = get_common_ancestor([cwd, ancestor])
is_fs_root = os.path.splitdrive(str(rootdir))[1] == "/"
is_fs_root = os.path.splitdrive(str(rootdir))[1] == os.sep
if is_fs_root:
rootdir = ancestor
if rootdir_cmd_arg: