Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 07d54d8

Browse files
committed
Some git processes return 1 on success, sigh
1 parent 005119c commit 07d54d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/NewTaskSystem/ProcessTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public void Run()
156156
}
157157
}
158158

159-
if (Process.ExitCode != 0)
159+
if (Process.ExitCode != 0 && errors.Count > 0)
160160
{
161161
onError?.Invoke(null, String.Join(Environment.NewLine, errors.ToArray()));
162162
}

0 commit comments

Comments
 (0)