update-python-resources: work on bare formula
Also favor Homebrew API over manual string comparison. Resolves https://github.com/orgs/Homebrew/discussions/5967.
This commit is contained in:
parent
01fcbfda53
commit
7e946c19a2
@ -39,7 +39,7 @@ module Homebrew
|
||||
sig { override.void }
|
||||
def run
|
||||
args.named.to_formulae.each do |formula|
|
||||
ignore_errors = if T.must(formula.tap).name == "homebrew/core"
|
||||
ignore_errors = if formula.tap&.official?
|
||||
false
|
||||
else
|
||||
args.ignore_errors?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user