Skip to content

Commit

Permalink
Include the root directory in tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed May 5, 2017
1 parent f74789f commit 80a4282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tarballer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ fn get_recursive_paths<P, Q>(root: P, name: Q) -> Result<(Vec<String>, Vec<Strin

let mut dirs = vec![];
let mut files = vec![];
for entry in WalkDir::new(root.join(name)).min_depth(1) {
for entry in WalkDir::new(root.join(name)) {
let entry = entry?;
let path = entry.path().strip_prefix(root)?;
let path = path_to_str(&path)?;
Expand Down

0 comments on commit 80a4282

Please sign in to comment.