Update Library/Homebrew/dev-cmd/bump-formula-pr.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
139f90df97
commit
8532bb23cc
@ -353,6 +353,7 @@ module Homebrew
|
||||
github_release_data = begin
|
||||
GitHub::API.open_rest("#{GitHub::API_URL}/repos/#{owner}/#{repo}/releases/tags/#{tag}")
|
||||
rescue GitHub::API::HTTPNotFoundError
|
||||
# If this is a 404: we can't do anything.
|
||||
nil
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user