Skip to content

fix: resolve setup script crashes#174

Open
mfcarroll wants to merge 1 commit intopiffio:mainfrom
mfcarroll:install-script
Open

fix: resolve setup script crashes#174
mfcarroll wants to merge 1 commit intopiffio:mainfrom
mfcarroll:install-script

Conversation

@mfcarroll
Copy link

This patch fixes two issues that cause the setup script to fail:

  • Suppressed wrangler update notifications (WRANGLER_LOG="error") in cloudflare.sh to prevent CLI warnings from breaking jq parsing during D1/KV resource lookups.
  • Added bash parameter expansion fallbacks (${VAR:-}) to Polar billing variables in deployment.sh to prevent 'unbound variable' crashes when the script runs in strict mode and the user skips the optional Polar setup.

This patch fixes two issues that cause the setup script to fail:

- Suppressed wrangler update notifications (WRANGLER_LOG="error") in cloudflare.sh to prevent CLI warnings from breaking jq parsing during D1/KV resource lookups.
- Added bash parameter expansion fallbacks (${VAR:-}) to Polar billing variables in deployment.sh to prevent 'unbound variable' crashes when the script runs in strict mode and the user skips the optional Polar setup.
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.

2 participants