mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Use correct pyproject.toml path in warnings (#5069)
One part of #5068. I think the other is not warning when the version is dynamic, but this fix is needed either way.
This commit is contained in:
parent
cc0983a8db
commit
00c055a6bd
1 changed files with 1 additions and 1 deletions
|
@ -777,7 +777,7 @@ async fn find_workspace(
|
||||||
// We require that a `project.toml` file either declares a workspace or a project.
|
// We require that a `project.toml` file either declares a workspace or a project.
|
||||||
warn_user!(
|
warn_user!(
|
||||||
"pyproject.toml does not contain `project` table: `{}`",
|
"pyproject.toml does not contain `project` table: `{}`",
|
||||||
workspace_root.simplified_display()
|
pyproject_path.simplified_display()
|
||||||
);
|
);
|
||||||
Ok(None)
|
Ok(None)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue