Skip to content

Commit

Permalink
Merge pull request #1127 from epage/log
Browse files Browse the repository at this point in the history
fix: Log when we skip config files
  • Loading branch information
epage authored Oct 21, 2024
2 parents 6802cc6 + 6bb0f2b commit 598daf1
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 598daf1

Please sign in to comment.