1
0
Fork 0
mirror of synced 2024-05-09 23:12:29 +12:00

Fix error with saving results of name duplicates (#307)

This commit is contained in:
Rafał Mikrut 2021-04-01 11:37:16 +02:00 committed by GitHub
parent 50ad3f9873
commit 0fa6692d39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1089,7 +1089,7 @@ impl SaveResults for DuplicateFinder {
} }
match self.check_method { match self.check_method {
CheckingMethod::Name => { CheckingMethod::Name => {
if !self.files_with_identical_size.is_empty() { if !self.files_with_identical_names.is_empty() {
writeln!(writer, "-------------------------------------------------Files with same names-------------------------------------------------").unwrap(); writeln!(writer, "-------------------------------------------------Files with same names-------------------------------------------------").unwrap();
writeln!( writeln!(
writer, writer,