mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-01 21:34:27 +01:00
Fix(workspace) root resolution (#3365)
This commit is contained in:
committed by
GitHub
parent
7a006afb17
commit
bfaf36099e
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user