audit: remove legit version exception
This commit is contained in:
parent
23e24c6710
commit
9f9ec0dcc6
@ -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) && @name != "legit"
|
||||
if version_url.to_s == version_text.to_s && version.instance_of?(Version)
|
||||
problem "version #{version_text} is redundant with version scanned from URL"
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user