I've searched extensively, but haven't come across a solution yet. Does anyone have a method to determine if your extension is operating in Classic or YAML pipeline?
I'm currently developing an extension that generates ANSI-colored output, and it seems that the Classic pipeline log UI has trouble handling it. However, the YAML pipeline seems to handle it without any issues. Rather than completely removing color, I'm hoping to find a more sophisticated approach.