Skip to content

Commit 9c1e2e9

Browse files
committed
Fixes
1 parent 160bb01 commit 9c1e2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-conda/src/environments.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub fn get_conda_installation_used_to_create_conda_env(env_path: &Path) -> Optio
141141
// We try to remove `Scripts` or `bin` from the path in the `get_conda_dir_from_cmd`.
142142
// However if there are other directories such as `condabin` or others we are not aware of, lets try.
143143
if let Some(conda_dir) = conda_dir.parent() {
144-
if is_conda_install(&conda_dir) {
144+
if is_conda_install(conda_dir) {
145145
return Some(conda_dir.into());
146146
}
147147
}

0 commit comments

Comments
 (0)