mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 22:01:10 +08:00
fix: discard null process output data (#1571)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user