After each run, the plugin saves the Messages that come back from runCommandWithArgs
These messages do not respect the check for commonOptions.noANSIMessages because the options are not passed into the format function or its downstream annotateErrorLine function
Expected Behavior
NoANSIMessages, and all other CommonOptions, should appropriately affect Messages.format even outside of a PlatformContext
Steps To Reproduce
List the steps to reproduce the symptomatic behavior:
Inspect the output Messages of runcommandWithArgs and note that ANSI formatting codes are still present even when noANSIMessages = true
Symptom
After each run, the plugin saves the Messages that come back from
runCommandWithArgs
These messages do not respect the check for commonOptions.noANSIMessages because the options are not passed into theformat
function or its downstreamannotateErrorLine
functionExpected Behavior
NoANSIMessages, and all other CommonOptions, should appropriately affect
Messages.format
even outside of aPlatformContext
Steps To Reproduce
List the steps to reproduce the symptomatic behavior:
Messages
ofruncommandWithArgs
and note that ANSI formatting codes are still present even whennoANSIMessages = true