mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 13:58:29 +00:00
![]() <!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> Resolves #11704 Propagate errors from `uv_console::confirm` up instead of `unwrap`ping them, causing panics. ## Test Plan <!-- How was it tested? --> Regression testing the bug is very difficult, as the behavior of `confirm` changes based on whether `uv` is talking to a `tty`. We can trick it using ptys, but the best rust pty crate I could find only provides blocking reads of the spawned child, which is insufficient to write the regression test. --------- Co-authored-by: konstin <konstin@mailbox.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |