Skip to content

Commit

Permalink
Merge pull request #1 from devcontainers-extra/fix/pipx-package-injec…
Browse files Browse the repository at this point in the history
…t-issue

fix(pipx-package): fix pipx inject command
  • Loading branch information
koralowiec authored Sep 12, 2024
2 parents 9a1d24b + 9a26366 commit e2cbf55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pipx-package/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/pipx-package/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2cbf55

Please sign in to comment.