mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 17:11:07 -05:00
feat(cli): Provide traceability on config loading
This commit is contained in:
parent
cc5c2b6f5d
commit
a0c592ff81
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ impl Config {
|
||||||
let config = if let Some(path) =
|
let config = if let Some(path) =
|
||||||
find_project_file(cwd, &["typos.toml", "_typos.toml", ".typos.toml"])
|
find_project_file(cwd, &["typos.toml", "_typos.toml", ".typos.toml"])
|
||||||
{
|
{
|
||||||
|
log::debug!("Loading {}", path.display());
|
||||||
Some(Self::from_file(&path)?)
|
Some(Self::from_file(&path)?)
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
|
|
Loading…
Reference in a new issue