diff --git a/crates/uv-workspace/src/workspace.rs b/crates/uv-workspace/src/workspace.rs index 17d0b8f27..e47b2f387 100644 --- a/crates/uv-workspace/src/workspace.rs +++ b/crates/uv-workspace/src/workspace.rs @@ -59,7 +59,7 @@ fn read_options(dir: &Path) -> Result, WorkspaceError> { } // Read a `pyproject.toml` file in the current directory. - let path = path.join("pyproject.toml"); + let path = dir.join("pyproject.toml"); match fs_err::read_to_string(&path) { Ok(content) => { // Parse, but skip any `pyproject.toml` that doesn't have a `[tool.uv]` section.