From a673728e86f8c0d989a0f2bd6f980c017524cba7 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sat, 13 Jan 2024 11:56:25 +0200 Subject: [PATCH] feat: add audit for wayback machine URLs --- Library/Homebrew/formula_auditor.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index 6fb299738fc7d..61a48940c50d6 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -597,12 +597,10 @@ def audit_wayback_url regex = %r{^https?://web\.archive\.org} if regex.match?(formula.stable.url) problem "Formula with a Wayback Machine `url` should be deprecated with `:repo_removed`" - return end if regex.match?(formula.homepage) problem "Formula with a Wayback Machine `homepage` should find an alternative `homepage`" - return end return unless formula.head