Skip to content

Commit ea8010f

Browse files
committed
Escape markup in CLI output from errors too
1 parent 6c06e30 commit ea8010f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotnet-trx/TrxCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ void WriteError(string baseDir, List<Failed> failures, XElement result, StringBu
445445
var error = new Panel(
446446
$"""
447447
[red]{message.EscapeMarkup()}[/]
448-
[dim]{cli}[/]
448+
[dim]{cli.ToString().EscapeMarkup()}[/]
449449
""");
450450
error.Padding = new Padding(5, 0, 0, 0);
451451
error.Border = BoxBorder.None;

0 commit comments

Comments
 (0)