fix: discard null process output data (#1571)

This commit is contained in:
Nathan Baulch
2025-07-14 12:03:43 +10:00
committed by GitHub
parent 6ae8c7c759
commit a229a19b2e

View File

@@ -204,7 +204,9 @@ namespace SourceGit.Commands
private void HandleOutput(string line, List<string> errs)
{
line ??= string.Empty;
if (line == null)
return;
Log?.AppendLine(line);
// Lines to hide in error message.