remove remove_dir_all() of paths' parents (which we didn't make to begin with)
This commit is contained in:
BIN
runtime/account_not_found/0/data
Normal file
BIN
runtime/account_not_found/0/data
Normal file
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());
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user