From 15fca9661df0a7ff274e93bab4ea386da08930bb Mon Sep 17 00:00:00 2001 From: Dustin Rodrigues Date: Mon, 5 Oct 2020 08:43:43 -0400 Subject: [PATCH] audit: temporarily allow redundant version for legit --- Library/Homebrew/dev-cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index fe20555ff6..6f98b7e2ba 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1024,7 +1024,7 @@ module Homebrew elsif !version.detected_from_url? version_text = version version_url = Version.detect(url, **specs) - if version_url.to_s == version_text.to_s && version.instance_of?(Version) + if version_url.to_s == version_text.to_s && version.instance_of?(Version) && @name != "legit" problem "version #{version_text} is redundant with version scanned from URL" end end