From bfdc1f536640fe8eeae1daa70bf811cb39ba614a Mon Sep 17 00:00:00 2001 From: s-weigand Date: Sun, 20 Oct 2024 13:06:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Change=20path=20adding=20order?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/conda_actions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conda_actions.ts b/src/conda_actions.ts index 11f3508..e565b59 100644 --- a/src/conda_actions.ts +++ b/src/conda_actions.ts @@ -42,10 +42,10 @@ const sane_add_path = (path_to_add: string): void => { */ const add_bin_dir = (python_dist_dir: string, config: ConfigObject): void => { if (config.os === "win32") { - sane_add_path(join(python_dist_dir, "Scripts")); - sane_add_path(join(python_dist_dir, "Library", "bin")); - sane_add_path(join(python_dist_dir, "usr", "Library", "bin")); sane_add_path(join(python_dist_dir, "mingw-w64", "Library", "bin")); + sane_add_path(join(python_dist_dir, "usr", "Library", "bin")); + sane_add_path(join(python_dist_dir, "Library", "bin")); + sane_add_path(join(python_dist_dir, "Scripts")); } else { sane_add_path(join(python_dist_dir, "bin")); }