fix(variable export): provide clean JSON output on stdout

Description

This MR fixes the issue where some human readable information is sent on stdout along with the chosen format, causing parsing by other tools to fail.

  • bug: don't pollute export output with human readable info

Separate the informational text to standard error instead of standard output so it can be processed by other tools.

Resolves #8076 (closed)

How has this been tested?

I have updated the unit tests related to this change to confirm the new Stdout/Stderr behavior. The old unit tests covered the prefix as well, so it seems it was intended behavior.

Edited by Daniel Sonck

Merge request reports

Loading