Skip to content

Commit

Permalink
Merge pull request #271 from ijl/filter-orig
Browse files Browse the repository at this point in the history
Filter Cargo.toml.orig from sdist
  • Loading branch information
konstin authored Mar 6, 2020
2 parents 7d3d6ad + b0bf8e6 commit cb96ef3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source_distribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub fn source_distribution(
let relative_to_cwd = manifest_dir.join(relative_to_manifests);
(relative_to_manifests.to_path_buf(), relative_to_cwd)
})
.filter(|(target, _)| target != Path::new("Cargo.toml.orig"))
.collect();

if !target_source
Expand Down

0 comments on commit cb96ef3

Please sign in to comment.