mirror of
https://github.com/gosticks/brew.git
synced 2026-12-04 19:51:40 +00:00
audit: temporarily allow redundant version for legit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user