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.