fix: Log when we skip config files

This commit is contained in:
Ed Page 2024-10-18 17:32:29 +08:00
parent 6802cc60d4
commit 6bb0f2bb69

View file

@ -715,6 +715,10 @@ fn walk_entry(
.iter() .iter()
.any(|n| *n == entry.file_name()) .any(|n| *n == entry.file_name())
{ {
log::debug!(
"{}: skipping potemtial config file as it may have typos",
entry.path().display()
);
return Ok(()); return Ok(());
} }
if entry.file_type().map(|t| t.is_file()).unwrap_or(true) { if entry.file_type().map(|t| t.is_file()).unwrap_or(true) {