Normalize claw workspace paths for Windows
This commit is contained in:
committed by
Teknium
parent
50387d718e
commit
ce4214ec94
@@ -249,7 +249,7 @@ def _scan_workspace_state(source_dir: Path) -> list[tuple[Path, str]]:
|
|||||||
state_path = child / state_name
|
state_path = child / state_name
|
||||||
if state_path.exists():
|
if state_path.exists():
|
||||||
kind = "directory" if state_path.is_dir() else "file"
|
kind = "directory" if state_path.is_dir() else "file"
|
||||||
rel = state_path.relative_to(source_dir)
|
rel = state_path.relative_to(source_dir).as_posix()
|
||||||
findings.append((state_path, f"Workspace {kind}: {rel}"))
|
findings.append((state_path, f"Workspace {kind}: {rel}"))
|
||||||
|
|
||||||
return findings
|
return findings
|
||||||
|
|||||||
Reference in New Issue
Block a user