mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-18 01:45:12 +02:00
feat(cli): Provide traceability on config loading
This commit is contained in:
@@ -17,6 +17,7 @@ impl Config {
|
||||
let config = if let Some(path) =
|
||||
find_project_file(cwd, &["typos.toml", "_typos.toml", ".typos.toml"])
|
||||
{
|
||||
log::debug!("Loading {}", path.display());
|
||||
Some(Self::from_file(&path)?)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user