Skip to content

Commit

Permalink
Use JSON instead of #inspect to include cask container in API
Browse files Browse the repository at this point in the history
  • Loading branch information
Rylan12 committed Dec 29, 2022
1 parent b55f1da commit 7a85492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cask/cask.rb
Original file line number Diff line number Diff line change
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 7a85492

Please sign in to comment.