Merge pull request #8860 from dtrodrigues/remove-legit-version-exception
audit: remove legit version exception
This commit is contained in:
commit
95ba86d465
@ -1024,7 +1024,7 @@ module Homebrew
|
|||||||
elsif !version.detected_from_url?
|
elsif !version.detected_from_url?
|
||||||
version_text = version
|
version_text = version
|
||||||
version_url = Version.detect(url, **specs)
|
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"
|
problem "version #{version_text} is redundant with version scanned from URL"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user