mirror of https://github.com/astral-sh/uv
Add HTTPS and SSH hints to scheme error (#3536)
Closes https://github.com/astral-sh/uv/issues/3483.
This commit is contained in:
parent
b6f6f58831
commit
106c3b583c
|
|
@ -329,7 +329,7 @@ impl Dist {
|
|||
Some(Scheme::GitGit | Scheme::GitHttp) => Err(Error::UnsupportedScheme(
|
||||
url.scheme().to_owned(),
|
||||
url.verbatim().to_string(),
|
||||
"insecure Git protocol".to_string(),
|
||||
"insecure Git protocol; use `git+https` or `git+ssh` instead".to_string(),
|
||||
)),
|
||||
Some(Scheme::GitFile) => Err(Error::UnsupportedScheme(
|
||||
url.scheme().to_owned(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue