Merge pull request #1127 from epage/log
Some checks failed
Security audit / security_audit (push) Has been cancelled
Security audit / cargo_deny (bans licenses sources) (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
CI / lockfile (push) Has been cancelled
CI / Docs (push) Has been cancelled
CI / rustfmt (push) Has been cancelled
CI / clippy (push) Has been cancelled
CI / Coverage (push) Has been cancelled
/ linux (aarch64) (push) Has been cancelled
/ linux (x86) (push) Has been cancelled
/ linux (x86_64) (push) Has been cancelled
/ musllinux (aarch64) (push) Has been cancelled
/ musllinux (x86_64) (push) Has been cancelled
/ windows (x64) (push) Has been cancelled
/ windows (x86) (push) Has been cancelled
/ macos (aarch64) (push) Has been cancelled
/ macos (x86_64) (push) Has been cancelled
/ sdist (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
CI / CI (push) Has been cancelled
/ Release (push) Has been cancelled

fix: Log when we skip config files
This commit is contained in:
Ed Page 2024-10-21 10:27:45 +08:00 committed by GitHub
commit 598daf1da6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) {