sponsors-maintainers-man-completions: fix unbound variable

https://github.com/Homebrew/brew/actions/runs/11012718453/job/30579518221#step:6:106
This commit is contained in:
Carlo Cabrera 2024-09-24 19:25:03 +08:00
parent b6783204e8
commit e465162734
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -108,7 +108,7 @@ jobs:
COMMITTED=true
fi
if [[ -n "$COMMITTED" ]]
if [[ -n "${COMMITTED-}" ]]
then
echo "committed=true" >> "$GITHUB_OUTPUT"
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"