Skip to content

Commit

Permalink
fix: Log when we skip config files
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Oct 18, 2024
1 parent 6802cc6 commit 6bb0f2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/typos-cli/src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6bb0f2b

Please sign in to comment.