Support Tap#formula_files when using API.
				
					
				
			This commit is contained in:
		
							parent
							
								
									28ad3f7fec
								
							
						
					
					
						commit
						2d41fe8feb
					
				@ -1146,9 +1146,9 @@ class CoreTap < AbstractCoreTap
 | 
			
		||||
  # @private
 | 
			
		||||
  sig { returns(T::Array[Pathname]) }
 | 
			
		||||
  def formula_files
 | 
			
		||||
    return super if Homebrew::EnvConfig.no_install_from_api? || installed?
 | 
			
		||||
    return super if Homebrew::EnvConfig.no_install_from_api?
 | 
			
		||||
 | 
			
		||||
    raise TapUnavailableError, name
 | 
			
		||||
    formula_files_by_name.values
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  # @private
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user