formula_auditor: support non-master default branch for downgrade audit

This commit is contained in:
Bo Anderson 2022-10-07 18:33:35 +01:00
parent e23d7b6360
commit 246eabac01
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -731,7 +731,7 @@ module Homebrew
newest_committed_revision = nil
newest_committed_url = nil
fv.rev_list("origin/master") do |rev|
fv.rev_list("origin/HEAD") do |rev|
begin
fv.formula_at_revision(rev) do |f|
stable = f.stable