We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 656dd38 commit 3b037caCopy full SHA for 3b037ca
crates/pet-conda/src/environments.rs
@@ -40,7 +40,7 @@ impl CondaEnvironment {
40
// Then this is a root conda environment.
41
if conda_manager.executable.starts_with(&self.prefix)
42
&& is_conda_install(&self.prefix)
43
- && !self.conda_dir.is_none()
+ && self.conda_dir.is_some()
44
{
45
name = Some("base".to_string());
46
} else {
0 commit comments