mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-13 17:43:54 +01:00
feat(cli): Provide traceability on config loading
This commit is contained in:
1 parent
cc5c2b6f5d
commit
a0c592ff81
1 file changed
+1
@@ -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