Skip to content

Commit

Permalink
warn multi config: canonicalize paths, maybe this fixes windows ci pr…
Browse files Browse the repository at this point in the history
…oblems
  • Loading branch information
matthiaskrgr committed Jan 31, 2022
1 parent 1193abe commit cb758b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/utils/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ pub fn lookup_conf_file() -> io::Result<Option<PathBuf>> {
if let Some(ref found_config_) = found_config {
eprintln!(
"Using config file `{}`\nWarning: `{}` will be ignored.",
found_config_.display(),
config_file.display(),
found_config_.canonicalize().unwrap().display(),
config_file.canonicalize().unwrap().display(),
);
} else {
found_config = Some(config_file);
Expand Down

0 comments on commit cb758b3

Please sign in to comment.