mirror of https://github.com/astral-sh/uv
Happy clippy
This commit is contained in:
parent
6bb6923ef4
commit
7f5ef26301
|
|
@ -388,9 +388,7 @@ fn hardlink_wheel_files(
|
|||
}
|
||||
|
||||
// Hardlink the file, unless it's the `RECORD` file, which we modify during installation.
|
||||
if entry.path().ends_with("RECORD") {
|
||||
fs::copy(entry.path(), &out_path)?;
|
||||
} else if use_copy_fallback {
|
||||
if entry.path().ends_with("RECORD") || use_copy_fallback {
|
||||
fs::copy(entry.path(), &out_path)?;
|
||||
} else {
|
||||
let hard_link_result = fs::hard_link(entry.path(), &out_path);
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ mod resolve_cli;
|
|||
mod resolve_many;
|
||||
mod wheel_metadata;
|
||||
|
||||
#[allow(clippy::enum_variant_names)]
|
||||
#[derive(Parser)]
|
||||
enum Cli {
|
||||
/// Build a source distribution into a wheel
|
||||
|
|
|
|||
Loading…
Reference in New Issue