Skip to content

Commit aa3b338

Browse files
fix(summary): wiped counts should not include errors
1 parent a5494ba commit aa3b338

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ where
7070
ignore_info.dir_count += 1;
7171
ignore_info.file_count += dir_info.file_count;
7272
ignore_info.size += dir_info.size;
73-
} else {
73+
} else if error.is_none() {
7474
wipe_info.file_count += dir_info.file_count;
7575
wipe_info.size += dir_info.size;
7676
}

0 commit comments

Comments
 (0)