Closed alystair closed 1 year ago
Note the only major potential edge case I haven't accounted for is if there is a difference between maximum description length between the two - never bothered checking. Assuming the worst - If anyone ever complains you can just trim the description length and output a warning/notice to CLI ¯\_(ツ)_/¯
Edit: There was, see below. Fixed :)
Hrm, actually looking at it now - it seems some label creations are failing silently
LOL it's failing for the exact edge case I predicted - the label description length on GitHub is much shorter.
Ok this is in a great place now, I added a trimOversizedLabelDescriptions
boolean setting, when false (default) oversized descriptions are excluded, otherwise they are trimmed to 100 characters. Either way a warning is shown.
Oh yeah, I also added some static color consts - so you can throw those into your various console
notices to spruce up the coloring to make it easier to see issues :)
Getting a crash, not ready yet... failing on emojis in description.... guh.
OK, all fixed up and ready to go! 👍
Thanks :)
trimOversizedLabelDescriptions
boolean option to trim them to the maximum allowable length instead of leaving blank, maybe a bit excessive feel free to remove this logic.