From 6bb0f2bb698ec7ce5c940b1448031ef2e5fb9923 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 18 Oct 2024 17:32:29 +0800 Subject: [PATCH] fix: Log when we skip config files --- crates/typos-cli/src/file.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/typos-cli/src/file.rs b/crates/typos-cli/src/file.rs index c7f377c..450510c 100644 --- a/crates/typos-cli/src/file.rs +++ b/crates/typos-cli/src/file.rs @@ -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) {