From 5d30ad06dee81d2ded3f337165def2a05f14557b Mon Sep 17 00:00:00 2001 From: Nathan Baulch Date: Mon, 14 Jul 2025 07:57:46 +1000 Subject: [PATCH] fix: discard null process output data --- src/Commands/Command.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Commands/Command.cs b/src/Commands/Command.cs index b933af86f..2cc85b8e8 100644 --- a/src/Commands/Command.cs +++ b/src/Commands/Command.cs @@ -204,7 +204,9 @@ private ProcessStartInfo CreateGitStartInfo(bool redirect) private void HandleOutput(string line, List errs) { - line ??= string.Empty; + if (line == null) + return; + Log?.AppendLine(line); // Lines to hide in error message.