From 984dd653a53579a870a0405fce66231e4b74e271 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 30 Mar 2023 16:18:41 -0500 Subject: [PATCH 1/4] update nushell's str collect command to str join --- src/virtualenv/activation/nushell/activate.nu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/virtualenv/activation/nushell/activate.nu b/src/virtualenv/activation/nushell/activate.nu index 69755e67d..3da1519ba 100644 --- a/src/virtualenv/activation/nushell/activate.nu +++ b/src/virtualenv/activation/nushell/activate.nu @@ -62,7 +62,7 @@ export-env { ) let venv_path = ([$virtual_env $bin] | path join) - let new_path = ($old_path | prepend $venv_path | str collect $path_sep) + let new_path = ($old_path | prepend $venv_path | str join $path_sep) let new_env = { $path_name : $new_path @@ -102,7 +102,7 @@ export-env { }) $new_env | merge { - _OLD_VIRTUAL_PATH : ($old_path | str collect $path_sep) + _OLD_VIRTUAL_PATH : ($old_path | str join $path_sep) _OLD_PROMPT_COMMAND : $old_prompt_command PROMPT_COMMAND : $new_prompt VIRTUAL_PROMPT : $virtual_prompt From d4e200fac2afa682160b85ae1fb88d6cbea7b054 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 30 Mar 2023 16:24:18 -0500 Subject: [PATCH 2/4] add changelog fragment --- docs/changelog/2532.bugfix.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 docs/changelog/2532.bugfix.rst diff --git a/docs/changelog/2532.bugfix.rst b/docs/changelog/2532.bugfix.rst new file mode 100644 index 000000000..8e88705d4 --- /dev/null +++ b/docs/changelog/2532.bugfix.rst @@ -0,0 +1,2 @@ +The nushell command 'str collect' has been superseded by the 'str join' command. The activate.nu script has +been updated to reflect this change. \ No newline at end of file From 5e568a10f59f56cea8b43b140ce34a4ae26f715a Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Fri, 31 Mar 2023 07:10:58 -0500 Subject: [PATCH 3/4] empty-commit From ce1e853bfff80aeb7f427e735a50a694911bbee1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 31 Mar 2023 12:19:43 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/changelog/2532.bugfix.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/2532.bugfix.rst b/docs/changelog/2532.bugfix.rst index 8e88705d4..16922fde9 100644 --- a/docs/changelog/2532.bugfix.rst +++ b/docs/changelog/2532.bugfix.rst @@ -1,2 +1,2 @@ The nushell command 'str collect' has been superseded by the 'str join' command. The activate.nu script has -been updated to reflect this change. \ No newline at end of file +been updated to reflect this change.