uv/crates/uv-cli
Charles-Meldhine Madi Mnemoi 225bffbb6c
Running uv lock --check with outdated lockfile will print that --check was passed, instead of --locked (#16322)
Hello,

# Summary

This PR fixes the confusing error message when running `uv lock --check`
with an outdated lockfile.

Previously, the error message incorrectly stated that `--locked` was
provided, even when the user used `--check`.

Now, the error message correctly indicates which flag was used: either
`--check` or `--locked`.

This closes #14105.

# Test plan

- I updated the existing integration test (`check_outdated_lock` in
`lock.rs`) to verify the new error message includes the correct flag.
- I ran existing tests to ensure I have no introduced regressions for
other commands.
2025-10-21 12:46:10 -05:00
..
src Running uv lock --check with outdated lockfile will print that --check was passed, instead of --locked (#16322) 2025-10-21 12:46:10 -05:00
build.rs Fix commits_since_last_tag in version info (#9730) 2024-12-09 09:43:27 -06:00
Cargo.toml Add a plain text backend for credential storage (#15588) 2025-09-02 13:16:52 -05:00