mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 05:47:45 +00:00
Skip --native-tls
in pip compile
header (#9913)
## Summary I also omitted `--no-progress` (we omit `--verbose` and `--quiet` -- this seems similar). Part of: https://github.com/astral-sh/uv/issues/9873.
This commit is contained in:
parent
9e2e9f2d10
commit
d4c2c46f6e
1 changed files with 12 additions and 0 deletions
|
@ -637,6 +637,18 @@ fn cmd(
|
||||||
return Some(None);
|
return Some(None);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Always skip the `--no-progress` flag.
|
||||||
|
if arg == "--no-progress" {
|
||||||
|
*skip_next = None;
|
||||||
|
return Some(None);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Always skip the `--native-tls` flag.
|
||||||
|
if arg == "--native-tls" {
|
||||||
|
*skip_next = None;
|
||||||
|
return Some(None);
|
||||||
|
}
|
||||||
|
|
||||||
// Return the argument.
|
// Return the argument.
|
||||||
Some(Some(arg))
|
Some(Some(arg))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue