remove remove_dir_all() of paths' parents (which we didn't make to begin with)
This commit is contained in:
parent
a94880574b
commit
f4c5b9ccb0
Binary file not shown.
|
@ -177,8 +177,6 @@ fn cleanup_dirs(paths: &str) {
|
||||||
let paths = get_paths_vec(&paths);
|
let paths = get_paths_vec(&paths);
|
||||||
paths.iter().for_each(|p| {
|
paths.iter().for_each(|p| {
|
||||||
let _ignored = remove_dir_all(p);
|
let _ignored = remove_dir_all(p);
|
||||||
let path = Path::new(p);
|
|
||||||
let _ignored = remove_dir_all(path.parent().unwrap());
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue