From 6de5de788b82a21b98423d2c348c8df018894b5d Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Wed, 3 Feb 2021 10:12:36 -0500 Subject: [PATCH] formula_auditor: skip archived audits if disabled --- Library/Homebrew/formula_auditor.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index 3e7745e498..761d921710 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -399,7 +399,7 @@ module Homebrew end def audit_github_repository_archived - return if formula.deprecated? + return if formula.deprecated? || formula.disabled? user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*}) if @online return if user.blank? @@ -411,7 +411,7 @@ module Homebrew end def audit_gitlab_repository_archived - return if formula.deprecated? + return if formula.deprecated? || formula.disabled? user, repo = get_repo_data(%r{https?://gitlab\.com/([^/]+)/([^/]+)/?.*}) if @online return if user.blank?