We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160bb01 commit 9c1e2e9Copy full SHA for 9c1e2e9
crates/pet-conda/src/environments.rs
@@ -141,7 +141,7 @@ pub fn get_conda_installation_used_to_create_conda_env(env_path: &Path) -> Optio
141
// We try to remove `Scripts` or `bin` from the path in the `get_conda_dir_from_cmd`.
142
// However if there are other directories such as `condabin` or others we are not aware of, lets try.
143
if let Some(conda_dir) = conda_dir.parent() {
144
- if is_conda_install(&conda_dir) {
+ if is_conda_install(conda_dir) {
145
return Some(conda_dir.into());
146
}
147
0 commit comments