Skip to content

Commit 80a4282

Browse files
committed
Include the root directory in tarball
1 parent f74789f commit 80a4282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tarballer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fn get_recursive_paths<P, Q>(root: P, name: Q) -> Result<(Vec<String>, Vec<Strin
9797

9898
let mut dirs = vec![];
9999
let mut files = vec![];
100-
for entry in WalkDir::new(root.join(name)).min_depth(1) {
100+
for entry in WalkDir::new(root.join(name)) {
101101
let entry = entry?;
102102
let path = entry.path().strip_prefix(root)?;
103103
let path = path_to_str(&path)?;

0 commit comments

Comments
 (0)