Commit bbfdb57b authored by Chris Lamb's avatar Chris Lamb 💬

When displaying the standard error from commands, ensure we use the escaped version.

parent 691ce88b
......@@ -296,12 +296,12 @@ class Difference:
if command1 and command1.stderr:
difference.add_comment(
"stderr from `{}`:".format(' '.join(command1.cmdline()))
"stderr from `{}`:".format(command1.shell_cmdline())
)
difference.add_comment(command1.stderr)
if command2 and command2.stderr:
difference.add_comment(
"stderr from `{}`:".format(' '.join(command2.cmdline()))
"stderr from `{}`:".format(command2.shell_cmdline())
)
difference.add_comment(command2.stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment