Show More
@@ -45,7 +45,7 def _get_conda_like_executable(command): | |||||
45 | # Check for a environment variable bound to the base executable, both conda and mamba |
|
45 | # Check for a environment variable bound to the base executable, both conda and mamba | |
46 | # set these when activating an environment. |
|
46 | # set these when activating an environment. | |
47 | base_executable = "CONDA_EXE" |
|
47 | base_executable = "CONDA_EXE" | |
48 |
if |
|
48 | if "mamba" in command.lower(): | |
49 | base_executable = "MAMBA_EXE" |
|
49 | base_executable = "MAMBA_EXE" | |
50 | if base_executable in os.environ: |
|
50 | if base_executable in os.environ: | |
51 | executable = Path(os.environ[base_executable]) |
|
51 | executable = Path(os.environ[base_executable]) |
General Comments 0
You need to be logged in to leave comments.
Login now