diff options
| author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-01-24 15:41:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-24 15:41:22 +0100 |
| commit | 0204071e30e68f23d36c9418a4f8f230f3e79407 (patch) | |
| tree | 09762c04d25c795df6ad90ab0008beca1d5603e1 /cli/args | |
| parent | 2027d98a8e9e530277ab301841872cdea7e2d590 (diff) | |
feat: log detection of config file (#17338)
Closes #14578
Diffstat (limited to 'cli/args')
| -rw-r--r-- | cli/args/config_file.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/args/config_file.rs b/cli/args/config_file.rs index 199f84709..2320a0b0d 100644 --- a/cli/args/config_file.rs +++ b/cli/args/config_file.rs @@ -524,8 +524,9 @@ impl ConfigFile { if checked.insert(ancestor.to_path_buf()) { for config_filename in CONFIG_FILE_NAMES { let f = ancestor.join(config_filename); - match ConfigFile::read(f) { + match ConfigFile::read(&f) { Ok(cf) => { + log::debug!("Config file found at '{}'", f.display()); return Ok(Some(cf)); } Err(e) => { |
