From 9a26366605160ce8b3aecf442b32280e3af1fb43 Mon Sep 17 00:00:00 2001 From: koralowiec <36413794+koralowiec@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:34:13 +0000 Subject: [PATCH] fix(pipx-package): fix pipx inject command --- src/pipx-package/devcontainer-feature.json | 2 +- src/pipx-package/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipx-package/devcontainer-feature.json b/src/pipx-package/devcontainer-feature.json index 88248bc24..c8e1d7a8e 100644 --- a/src/pipx-package/devcontainer-feature.json +++ b/src/pipx-package/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "Pipx package", "id": "pipx-package", - "version": "1.1.7", + "version": "1.1.8", "description": "Installs a pipx package.", "documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/pipx-package", "installsAfter": [ diff --git a/src/pipx-package/install.sh b/src/pipx-package/install.sh index f2b9c28dd..f757fd121 100755 --- a/src/pipx-package/install.sh +++ b/src/pipx-package/install.sh @@ -149,7 +149,7 @@ install_via_pipx() { injections_array_length="${#injections_array[@]}" for ((i = 0; i < ${injections_array_length}; i++)); do - ${pipx_bin} inject "$PACKAGE" --pip-args '--no-cache-dir --force-reinstall' -f "${injections_array[$i]}" + ${pipx_bin} inject --pip-args '--no-cache-dir --force-reinstall' -f "$PACKAGE" "${injections_array[$i]}" done # cleaning pipx to save disk space