Fix typo in directory visiting (#1050)
This commit is contained in:
parent
30e296968b
commit
0173d722c6
@ -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)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user