Merge pull request #18154 from chenrui333/fix-tag-audit
This commit is contained in:
commit
af4cd63408
@ -802,7 +802,7 @@ module Homebrew
|
||||
tag = SharedAudits.github_tag_from_url(url)
|
||||
tag ||= formula.stable.specs[:tag]
|
||||
|
||||
if @online
|
||||
if @online && !tag.nil?
|
||||
error = SharedAudits.github_release(owner, repo, tag, formula:)
|
||||
problem error if error
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user