audit: temporarily allow redundant version for legit
This commit is contained in:
		
							parent
							
								
									5133b4cf89
								
							
						
					
					
						commit
						15fca9661d
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user