mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
Normalize claw workspace paths for Windows
This commit is contained in:
parent
50387d718e
commit
ce4214ec94
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue