Skip to content
Snippets Groups Projects
Commit 9f9ec0dc authored by Dustin Rodrigues's avatar Dustin Rodrigues
Browse files

audit: remove legit version exception

parent 23e24c67
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment