Merge pull request #20548 from Homebrew/bump_exit_code

dev-cmd/bump: adjust `system` call.
This commit is contained in:
Mike McQuaid 2025-08-22 15:33:43 +00:00 committed by GitHub
commit b6976f3515
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -536,7 +536,8 @@ module Homebrew
bump_pr_args << "--bump-synced=#{outdated_synced_formulae.join(",")}"
end
safe_system HOMEBREW_BREW_FILE, *bump_pr_args
result = system HOMEBREW_BREW_FILE, *bump_pr_args
Homebrew.failed = true unless result
end
sig {