diff options
author | Yureka <yuka@yuka.dev> | 2023-03-18 23:25:58 +0100 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-03-26 00:02:15 +0100 |
commit | 34c848fe08c45e475a1c310401a29d37efd46a74 (patch) | |
tree | 25ee3866f40196a8b922de96573acb1b124b4b87 /maintainers/scripts/convert-to-import-cargo-lock | |
parent | 71302829763a4e27274cad2292783213917a6f13 (diff) |
maintainers/scripts/convert-to-import-cargo-lock: don't add duplicate outputHashes
Diffstat (limited to 'maintainers/scripts/convert-to-import-cargo-lock')
-rw-r--r-- | maintainers/scripts/convert-to-import-cargo-lock/src/main.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs b/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs index 3b9bef83e6838..86bfc1a0d6bd0 100644 --- a/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs +++ b/maintainers/scripts/convert-to-import-cargo-lock/src/main.rs @@ -114,11 +114,6 @@ fn convert(attr: &str, hashes: &mut HashMap<String, String>) -> anyhow::Result<( .expect("dependency should have well-formed source url"); if let Some(hash) = hashes.get(original_url) { - git_dependencies.push(( - format!("{}-{}", package.name, package.version), - hash.clone(), - )); - continue; } |