Skip to content
Snippets Groups Projects
Unverified Commit 95ba86d4 authored by Dustin Rodrigues's avatar Dustin Rodrigues Committed by GitHub
Browse files

Merge pull request #8860 from dtrodrigues/remove-legit-version-exception

audit: remove legit version exception
parents 23e24c67 9f9ec0dc
Branches
Tags
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.
Please register or to comment