Fix(workspace) root resolution (#3365)

This commit is contained in:
Reinier van der Leer
2023-04-27 01:43:21 +02:00
committed by GitHub
parent 7a006afb17
commit bfaf36099e

View File

@@ -112,7 +112,7 @@ class Workspace:
if root is None:
return Path(relative_path).resolve()
root, relative_path = Path(root), Path(relative_path)
root, relative_path = Path(root).resolve(), Path(relative_path)
if relative_path.is_absolute():
raise ValueError(