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:
Rylan Polster 2022-12-29 14:33:52 -05:00 committed by GitHub
commit 55a8c0208f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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