Merge pull request #14303 from Rylan12/cask-json-api-container
Use JSON instead of `#inspect` to include cask container in API
This commit is contained in:
		
						commit
						55a8c0208f
					
				@ -244,7 +244,7 @@ module Cask
 | 
			
		||||
        "caveats"        => (to_h_string_gsubs(caveats) unless caveats.empty?),
 | 
			
		||||
        "depends_on"     => depends_on,
 | 
			
		||||
        "conflicts_with" => conflicts_with,
 | 
			
		||||
        "container"      => container,
 | 
			
		||||
        "container"      => container&.pairs,
 | 
			
		||||
        "auto_updates"   => auto_updates,
 | 
			
		||||
      }
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user