Closed
Description
Environment
azure-pipelines-task-lib version: 4.17.2
Issue Description
Whenever using the execSync
function, and have system.debug enabled for the pipeline run, every piece of the command being output as a separate debug line twice:
That is the result from using execSync
to run a curl command:
Expected behaviour
I would expect whatever command is being executed to be debug logged on a single line. Also none of the debug lines should be duplicated.
Would also be nice to have an option for execSync
to not debug log the command at all. The existing silent
option only masks the regular console output.
Actual behaviour
Each piece or argument of the command is output on a new debug line and duplicated. No way to alter this behavior or mask.