diff --git a/crates/pet-conda/src/environment_locations.rs b/crates/pet-conda/src/environment_locations.rs index f4152726..70ed3823 100644 --- a/crates/pet-conda/src/environment_locations.rs +++ b/crates/pet-conda/src/environment_locations.rs @@ -208,7 +208,7 @@ pub fn get_known_conda_install_locations(env_vars: &EnvVariables) -> Vec Option { // The casing in history might not be same as that on disc // We do not want to have duplicates in different cases. // & we'd like to preserve the case of the original path as on disc. - return Some(get_absolute_path(cmd_line).to_path_buf()); + return Some(get_absolute_path(&cmd_line).to_path_buf()); } } None