Enable check_repository_references conditionally
Enable check_repository_references when HOMEBREW_PREFIX == HOMEBREW_REPOSITORY. Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
		
							parent
							
								
									7b408dffc9
								
							
						
					
					
						commit
						7fb1620c58
					
				@ -210,6 +210,7 @@ module FormulaCellarChecks
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def check_repository_references(prefix)
 | 
			
		||||
    return if HOMEBREW_PREFIX != HOMEBREW_REPOSITORY
 | 
			
		||||
    return unless prefix.directory?
 | 
			
		||||
 | 
			
		||||
    keg = Keg.new(prefix)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user