mirror of https://github.com/astral-sh/uv
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
|
|
@ -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…
Reference in New Issue