Skip to content

Commit

Permalink
fix(manifest): unshadow the actual output of BuildManifest::normalize (
Browse files Browse the repository at this point in the history
…#216)

Fixes: #215
  • Loading branch information
Gankra committed Mar 30, 2023
1 parent b5c2c64 commit e5c8d4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/oro-common/src/build_manifest.rs
Expand Up @@ -109,12 +109,10 @@ impl BuildManifest {
bin_map.insert(base.to_string_lossy().to_string(), bin_target);
}
} else if let Some(Bin::Str(bin)) = raw.bin {
let mut bin_map = HashMap::new();
if let Some(name) = raw.name {
bin_map.insert(name, PathBuf::from(bin));
}
} else if let Some(Bin::Array(bins)) = raw.bin {
let mut bin_map = HashMap::new();
for bin in bins {
let name = bin
.as_path()
Expand Down

0 comments on commit e5c8d4b

Please sign in to comment.