Skip to content

Commit

Permalink
Merge pull request #14303 from Rylan12/cask-json-api-container
Browse files Browse the repository at this point in the history
Use JSON instead of `#inspect` to include cask container in API
  • Loading branch information
Rylan12 committed Dec 29, 2022
2 parents 5994f16 + 7a85492 commit 55a8c02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/cask.rb
Expand Up @@ -244,7 +244,7 @@ def to_h
"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
Expand Down

0 comments on commit 55a8c02

Please sign in to comment.