Only show installed taps in brew tap output.
				
					
				
			This commit is contained in:
		
							parent
							
								
									262912e6a6
								
							
						
					
					
						commit
						e08e873921
					
				@ -60,7 +60,7 @@ module Homebrew
 | 
			
		||||
        tap.fix_remote_configuration
 | 
			
		||||
      end
 | 
			
		||||
    elsif args.no_named?
 | 
			
		||||
      puts Tap.names
 | 
			
		||||
      puts Tap.select(&:installed?)
 | 
			
		||||
    else
 | 
			
		||||
      tap = Tap.fetch(args.named.first)
 | 
			
		||||
      begin
 | 
			
		||||
 | 
			
		||||
@ -868,6 +868,8 @@ class Tap
 | 
			
		||||
  # An array of all installed {Tap} names.
 | 
			
		||||
  sig { returns(T::Array[String]) }
 | 
			
		||||
  def self.names
 | 
			
		||||
    # odeprecated "`#{self}.names`"
 | 
			
		||||
 | 
			
		||||
    map(&:name).sort
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user