gist-logs: show the formula origin for non core-formula
Closes Homebrew/homebrew#36730. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
		
							parent
							
								
									f640cbac9e
								
							
						
					
					
						commit
						4d17d4c8db
					
				@ -12,6 +12,14 @@ module Homebrew
 | 
			
		||||
    Homebrew.dump_verbose_config(s)
 | 
			
		||||
    files["config.out"] = { :content => s.string }
 | 
			
		||||
    files["doctor.out"] = { :content => `brew doctor 2>&1` }
 | 
			
		||||
    unless f.core_formula?
 | 
			
		||||
      tap = <<-EOS.undent
 | 
			
		||||
        Formula: #{f.name}
 | 
			
		||||
        Tap: #{f.tap}
 | 
			
		||||
        Path: #{f.path}
 | 
			
		||||
      EOS
 | 
			
		||||
      files["tap.out"] = { :content => tap }
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    url = create_gist(files)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user