mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-21 07:42:05 +00:00
Preserve environment variables in resolved Git dependencies (#2125)
## Summary Closes https://github.com/astral-sh/uv/issues/2116.
This commit is contained in:
parent
5083f51d68
commit
e7f336ac53
5 changed files with 93 additions and 6 deletions
|
@ -93,9 +93,9 @@ impl VerbatimUrl {
|
|||
|
||||
/// Set the verbatim representation of the URL.
|
||||
#[must_use]
|
||||
pub fn with_given(self, given: String) -> Self {
|
||||
pub fn with_given(self, given: impl Into<String>) -> Self {
|
||||
Self {
|
||||
given: Some(given),
|
||||
given: Some(given.into()),
|
||||
..self
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue