formula: make JSON caveats output use consistent prefix.
This will avoid this changing depending on the generation location.
This commit is contained in:
		
							parent
							
								
									2ca56f6731
								
							
						
					
					
						commit
						5d729dd310
					
				@ -1631,7 +1631,7 @@ class Formula
 | 
			
		||||
                                                .uniq,
 | 
			
		||||
      "requirements"             => [],
 | 
			
		||||
      "conflicts_with"           => conflicts.map(&:name),
 | 
			
		||||
      "caveats"                  => caveats,
 | 
			
		||||
      "caveats"                  => caveats&.gsub(HOMEBREW_PREFIX, "$(brew --prefix)"),
 | 
			
		||||
      "installed"                => [],
 | 
			
		||||
      "linked_keg"               => linked_version&.to_s,
 | 
			
		||||
      "pinned"                   => pinned?,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user