mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-21 16:41:01 -05:00
fix: Log when we skip config files
This commit is contained in:
parent
6802cc60d4
commit
6bb0f2bb69
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue