We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0682f91 commit 86386cdCopy full SHA for 86386cd
1 file changed
app/scenario_planning.py
@@ -33,8 +33,8 @@ def _normalize_pack_id(value: Any) -> str:
33
def _resolve_workspace_path(candidate: Path) -> Path | None:
34
try:
35
workspace_root = WORKSPACE_ROOT.resolve()
36
- raw_path = candidate if candidate.is_absolute() else (workspace_root / candidate)
37
- resolved = raw_path.resolve(strict=False)
+ raw_path = os.path.normpath(str(candidate if candidate.is_absolute() else (workspace_root / candidate)))
+ resolved = Path(raw_path).resolve(strict=False)
38
resolved.relative_to(workspace_root)
39
return resolved
40
except (OSError, RuntimeError, ValueError):
0 commit comments