Remove audit check for XZ
Any formula with a URL that ends in ".xz" now gets this dependency automatically, so this check no longer does anything.
This commit is contained in:
		
							parent
							
								
									3df31557c8
								
							
						
					
					
						commit
						e9d608587d
					
				@ -263,10 +263,6 @@ class FormulaAuditor
 | 
			
		||||
    urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u|
 | 
			
		||||
      problem "Use /archive/ URLs for GitHub tarballs (url is #{u})."
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    if urls.any? { |u| u =~ /\.xz/ } && !f.deps.any? { |d| d.name == "xz" }
 | 
			
		||||
      problem "Missing a build-time dependency on 'xz'"
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def audit_specs
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user