Skip to content

(fix) remove git dependency and fix array expansion in install script#9

Merged
alexey-pelykh merged 1 commit intomainfrom
fix/install-script-cleanup
Mar 9, 2026
Merged

(fix) remove git dependency and fix array expansion in install script#9
alexey-pelykh merged 1 commit intomainfrom
fix/install-script-cleanup

Conversation

@alexey-pelykh
Copy link
Contributor

Summary

  • Remove check_git/install_git functions and their call in main() — git is not required by the install flow
  • Fix unbound variable error when prefix_args array is empty under set -u by using ${arr[@]+"${arr[@]}"} expansion pattern

Test plan

  • Run curl ... | bash on a clean system without git installed — should complete without errors
  • Run install with --local flag — verify prefix_args expansion works correctly
  • Run install normally (non-local) — verify npm global install still works

🤖 Generated with Claude Code

… in install script

Remove check_git/install_git functions and their invocation — git is not
required by the install flow. Fix unbound variable error when prefix_args
is empty under set -u by using ${arr[@]+"${arr[@]}"} pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh merged commit eb26985 into main Mar 9, 2026
2 checks passed
@alexey-pelykh alexey-pelykh deleted the fix/install-script-cleanup branch March 9, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant