Merge pull request #10109 from SeekingMeaning/bump-cask-pr-ignore

bump-cask-pr: ignore closed duplicate PRs
This commit is contained in:
Mike McQuaid 2020-12-28 13:19:49 +00:00 committed by GitHub
commit 6e2da862b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,10 +88,6 @@ module Homebrew
check_open_pull_requests(cask, tap_full_name, args: args)
if new_version.present? && !new_version.latest?
check_closed_pull_requests(cask, tap_full_name, version: new_version, args: args)
end
old_contents = File.read(cask.sourcefile_path)
replacement_pairs = []