mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 12:20:07 +00:00
safe_read() outputs via stdout and takes only one argument (the prompt). Three call sites in aws/lib/common.sh incorrectly passed a variable name as a second argument instead of using command substitution: safe_read "prompt" varname # BUG: varname never assigned varname=$(safe_read "prompt") # CORRECT: captures stdout This caused: - Install prompt always defaulting to "y" (user's "n" was ignored) - AWS credentials never being captured after CLI install, leaving AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY empty, so the install-then-configure code path always failed silently Agent: code-health Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||