From 2d12532495dc7ca92554568197dbb61ccf94005d Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Fri, 14 Apr 2023 13:42:12 +0200 Subject: [PATCH] Add `||` to closure (#447) Not necessary anymore for the next release, but fixes things for the current one --- virtual_environments/conda.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtual_environments/conda.nu b/virtual_environments/conda.nu index 6e6d909..c0b0e56 100644 --- a/virtual_environments/conda.nu +++ b/virtual_environments/conda.nu @@ -95,7 +95,7 @@ export def-env deactivate [] { def check-if-env-exists [ env_name: string, conda_info: record ] { let env_dirs = ( $conda_info.envs_dirs | - each { path join $env_name } + each { || path join $env_name } ) let en = ($env_dirs | each {|en| $conda_info.envs | where $it == $en } | where ($it | length) == 1 | flatten)