mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
fix: Log when we skip config files
This commit is contained in:
@@ -715,6 +715,10 @@ fn walk_entry(
|
||||
.iter()
|
||||
.any(|n| *n == entry.file_name())
|
||||
{
|
||||
log::debug!(
|
||||
"{}: skipping potemtial config file as it may have typos",
|
||||
entry.path().display()
|
||||
);
|
||||
return Ok(());
|
||||
}
|
||||
if entry.file_type().map(|t| t.is_file()).unwrap_or(true) {
|
||||
|
||||
Reference in New Issue
Block a user