From 804f1431d4cc22659367026531b1c92c7c6b981a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 8 Jul 2015 16:22:42 +0100 Subject: [PATCH] audit: github repo: verify stable formula is set . --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 78242f78a1..a73a0bef51 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -426,7 +426,7 @@ class FormulaAuditor return unless @strict regex = %r{https?://github.com/([^/]+)/([^/]+)/?.*} - _, user, repo = *regex.match(formula.stable.url) + _, user, repo = *regex.match(formula.stable.url) if formula.stable _, user, repo = *regex.match(formula.homepage) unless user return if !user || !repo