mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
Fix SourceNotAllowed
error message (#13012)
## Summary Before: ```console $ uv python list py --managed-python error: Interpreter discovery for `executable name `py`` requires `search path` but only only managed is allowed ``` After: ```console $ uv python list py --managed-python error: Interpreter discovery for `executable name `py`` requires `search path` but only `only managed` is allowed ```
This commit is contained in:
parent
06134f34ea
commit
2cb998847c
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ pub enum Error {
|
|||
InvalidVersionRequest(String),
|
||||
|
||||
// TODO(zanieb): Is this error case necessary still? We should probably drop it.
|
||||
#[error("Interpreter discovery for `{0}` requires `{1}` but only {2} is allowed")]
|
||||
#[error("Interpreter discovery for `{0}` requires `{1}` but only `{2}` is allowed")]
|
||||
SourceNotAllowed(PythonRequest, PythonSource, PythonPreference),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue