Fix typo in directory visiting (#1050)

This commit is contained in:
Andrea Fioraldi 2023-02-07 10:47:36 +01:00 committed by GitHub
parent 30e296968b
commit 0173d722c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,7 +378,7 @@ where
if attr.is_file() && attr.len() > 0 { if attr.is_file() && attr.len() > 0 {
files.push(path); files.push(path);
} else if attr.is_dir() { } else if attr.is_dir() {
Self::visit_initial_directory(files, in_dir)?; Self::visit_initial_directory(files, &path)?;
} }
} }