From a4dd50f6f1c3bea76b50f256a31a4381128d8a34 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sat, 24 Aug 2024 16:02:49 -0400 Subject: [PATCH] formula_auditor: ensure tag is not nil when doing online audit Signed-off-by: Rui Chen --- Library/Homebrew/formula_auditor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index 1d3c12e857..7039f72ac8 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -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