ytt icon indicating copy to clipboard operation
ytt copied to clipboard

Handle formatting output of empty maps and lists

Open emh-jump opened this issue 5 months ago • 1 comments

Adds a special case when a list or map is empty

Fixes #817

Added 0 as a non-magic number since a constant would likely make this code, and other code in the repo like it, more confusing. Can revert and add a constant if folks would really prefer.

emh-jump avatar Jul 18 '25 17:07 emh-jump

looks good, but i don't have write access, please ping in carvel slack to get some traction.

prembhaskal avatar Jul 25 '25 13:07 prembhaskal